Searched refs:ihdr (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 69 AudioHdr ihdr, in verify_conversion() argument 75 if (((ihdr.encoding != ULAW) && in verify_conversion() 76 (ihdr.encoding != ALAW) && in verify_conversion() 77 (ihdr.encoding != LINEAR) && in verify_conversion() 78 (ihdr.encoding != FLOAT) && in verify_conversion() 79 (ihdr.encoding != G721) && in verify_conversion() 80 (ihdr.encoding != G723)) || in verify_conversion() 87 enc1 = ihdr.EncodingString(); in verify_conversion() 100 AudioHdr ihdr, in noop_conversion() argument 107 if ((ihdr == ohdr) && in noop_conversion() [all …]
|
H A D | main.cc | 69 AudioHdr ihdr; // input/output headers in main() local 102 init_header(ihdr); in main() 109 (void) parse_format((char *)"ulaw", ihdr, ifmt, i_offset); in main() 112 (void) parse_format((char *)"pcm", ihdr, ifmt, i_offset); in main() 115 (void) parse_format((char *)"ulaw", ihdr, ifmt, i_offset); in main() 118 (void) parse_format((char *)"g721", ihdr, ifmt, i_offset); in main() 121 (void) parse_format((char *)"ulaw", ihdr, ifmt, i_offset); in main() 171 if (parse_format(optarg, ihdr, ifmt, i_offset) == -1) { in main() 210 init_header(ihdr); in main() 214 if (parse_format(argv[++optind], ihdr, ifmt, i_offset) in main() [all …]
|
H A D | file.cc | 77 AudioUnixfile *open_input_file(const char *path, const AudioHdr ihdr, in open_input_file() argument 111 (FileAccess)ReadOnly, ihdr, path, in open_input_file() 148 ihdr, path, offset); in open_input_file() 167 (FileAccess)ReadOnly, ihdr, in open_input_file() 173 ifp = new AudioRawPipe(fd, (FileAccess)ReadOnly, ihdr, in open_input_file()
|
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_recv.c | 682 struct rdsv3_header *ihdr, *hdr; in rdsv3_ib_process_recv() local 699 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rdsv3_ib_process_recv() 702 if (!rdsv3_message_verify_checksum(ihdr)) { in rdsv3_ib_process_recv() 713 state->ack_recv = ntohll(ihdr->h_ack); in rdsv3_ib_process_recv() 717 if (ihdr->h_credit) in rdsv3_ib_process_recv() 718 rdsv3_ib_send_add_credits(conn, ihdr->h_credit); in rdsv3_ib_process_recv() 720 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rdsv3_ib_process_recv() 742 (void) memcpy(hdr, ihdr, sizeof (*hdr)); in rdsv3_ib_process_recv() 754 if (hdr->h_sequence != ihdr->h_sequence || in rdsv3_ib_process_recv() 755 hdr->h_len != ihdr->h_len || in rdsv3_ib_process_recv() [all …]
|
/titanic_44/usr/src/uts/common/io/chxge/ |
H A D | ch.c | 1682 ipha_t *ihdr; in ch_send() local 1769 ihdr = (ipha_t *)&mp->b_rptr[sizeof (struct ether_header)]; in ch_send() 1770 if ((ihdr->ipha_fragment_offset_and_flags & IPH_MF)) { in ch_send() 1771 if (ihdr->ipha_protocol == IPPROTO_UDP) { in ch_send() 1774 } else if (ihdr->ipha_protocol == IPPROTO_TCP) { in ch_send() 1778 } else if (ihdr->ipha_protocol == IPPROTO_UDP) in ch_send()
|
H A D | sge.c | 1920 ipha_t *ihdr = (ipha_t *)(mp->b_rptr + offset); in calc_ocsum() local 1922 int iplen = IPH_HDR_LENGTH(ihdr); in calc_ocsum() 1927 addrp = (uint8_t *)&ihdr->ipha_src; in calc_ocsum() 1931 addrp = (uint8_t *)&ihdr->ipha_dst; in calc_ocsum()
|