/titanic_41/usr/src/lib/libsip/common/ |
H A D | sip_add_hdrs.c | 129 int header_size; in sip_add_empty_hdr() local 142 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize; in sip_add_empty_hdr() 144 new_header = sip_new_header(header_size); in sip_add_empty_hdr() 150 (void) snprintf(new_header->sip_hdr_start, header_size + 1, in sip_add_empty_hdr() 169 int header_size; in sip_add_2strs_to_msg() local 186 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_2strs_to_msg() 190 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_2strs_to_msg() 195 header_size += 2 * sizeof (char); in sip_add_2strs_to_msg() 197 new_header = sip_new_header(header_size); in sip_add_2strs_to_msg() 206 header_size + 1, "%s %c \"%s\"%c%s%s", in sip_add_2strs_to_msg() [all …]
|
H A D | sip_msg.c | 546 int header_size; in sip_add_response_line() local 558 header_size = strlen(SIP_VERSION) + SIP_SPACE_LEN + in sip_add_response_line() 562 new_header = sip_new_header(header_size); in sip_add_response_line() 569 (void) snprintf(new_header->sip_hdr_start, header_size + 1, in sip_add_response_line() 574 _sip_response->sip_msg_len += header_size; in sip_add_response_line() 899 int header_size; in sip_add_request_line() local 914 header_size = strlen(sip_methods[method].name) + SIP_SPACE_LEN + in sip_add_request_line() 918 new_header = sip_new_header(header_size); in sip_add_request_line() 925 (void) snprintf(new_header->sip_hdr_start, header_size + 1, in sip_add_request_line() 931 _sip_request->sip_msg_len += header_size; in sip_add_request_line()
|
H A D | sip_ui.c | 801 int header_size; in sip_add_header() local 813 header_size = strlen(header_string) + strlen(SIP_CRLF); in sip_add_header() 814 new_header = sip_new_header(header_size); in sip_add_header() 820 (void) snprintf(new_header->sip_hdr_start, header_size + 1, "%s%s", in sip_add_header()
|
H A D | sip_headers.c | 224 sip_new_header(int header_size) in sip_new_header() argument 237 new_header->sip_hdr_start = calloc(1, header_size + 1); in sip_new_header() 242 new_header->sip_hdr_end = new_header->sip_hdr_start + header_size; in sip_new_header()
|
/titanic_41/usr/src/common/ucode/ |
H A D | ucode_utils.c | 49 uint32_t header_size, body_size, total_size; in ucode_header_validate_intel() local 60 header_size = UCODE_HEADER_SIZE_INTEL; in ucode_header_validate_intel() 71 (total_size < (header_size + body_size)) || in ucode_header_validate_intel() 90 if (total_size > (header_size + body_size)) { in ucode_header_validate_intel() 91 if ((total_size - body_size - header_size - in ucode_header_validate_intel() 169 uint32_t header_size = UCODE_HEADER_SIZE_INTEL; in ucode_validate_intel() local 192 ext_size = total_size - (header_size + body_size); in ucode_validate_intel() 198 &curbuf[header_size + body_size])) { in ucode_validate_intel()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ip6_rts.c | 88 size_t data_size, header_size; in rts_fill_msg_v6() local 97 header_size = rts_header_msg_size(type); in rts_fill_msg_v6() 105 mp->b_wptr = &mp->b_rptr[header_size]; in rts_fill_msg_v6() 183 rtm->rtm_msglen = (short)(header_size + data_size); in rts_fill_msg_v6()
|
H A D | ip_rts.c | 1721 size_t data_size, header_size; in rts_fill_msg() local 1730 header_size = rts_header_msg_size(type); in rts_fill_msg() 1738 mp->b_wptr = &mp->b_rptr[header_size]; in rts_fill_msg() 1816 rtm->rtm_msglen = (short)(header_size + data_size); in rts_fill_msg()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 298 int i, n, count = 0, header_size = BLK_SIZE; in ds_init() local 388 header_size + BLK_SIZE)) == NULL) { in ds_init() 396 (void) memset(ds_header + header_size, '\0', in ds_init() 401 if (read(ds_fd, ds_header + header_size, BLK_SIZE) != in ds_init() 409 header_size += BLK_SIZE; /* new size */ in ds_init() 418 ds_headsize = header_size; in ds_init() 425 if ((ds_header_raw = (char *)malloc(header_size)) == NULL) { in ds_init() 431 (void) memcpy(ds_header_raw, ds_header, header_size); in ds_init()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | microcode.c | 518 int header_size = UCODE_HEADER_SIZE_INTEL; in ucode_locate_intel() local 550 ucodefp->uf_header = ucode_zalloc(cp->cpu_id, header_size); in ucode_locate_intel() 554 count = kobj_read(fd, (char *)ucodefp->uf_header, header_size, 0); in ucode_locate_intel() 560 uint32_t offset = header_size; in ucode_locate_intel() 584 sum = ucode_checksum_intel(0, header_size, in ucode_locate_intel() 594 offset = body_size + header_size; in ucode_locate_intel() 970 uint32_t header_size = UCODE_HEADER_SIZE_INTEL; in ucode_extract_intel() local 989 ext_size = total_size - (header_size + body_size); in ucode_extract_intel() 993 &curbuf[header_size + body_size]; in ucode_extract_intel() 1013 uusp->ucodep = (uint8_t *)&curbuf[header_size]; in ucode_extract_intel()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 557 int off, header_size; in want_packet() local 568 header_size = (*interface->header_len)((char *)pkt, len); in want_packet() 748 base = pkt + header_size; in want_packet() 762 ip = pkt + header_size; in want_packet() 775 ip = pkt + header_size; in want_packet() 789 ip = pkt + header_size; in want_packet() 803 ip = pkt + header_size; in want_packet() 868 ip = pkt + header_size; in want_packet()
|
/titanic_41/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 524 size_t header_size; in iptun_task_cb() local 554 header_size = iptun->iptun_header_size; in iptun_task_cb() 578 header_size == 0 ? NULL : &header, header_size) != 0) in iptun_task_cb() 1956 size_t header_size, ipsec_overhead; in iptun_get_maxmtu() local 1991 header_size = iptun->iptun_header_size; in iptun_get_maxmtu() 1995 header_size = sizeof (ipha_t); in iptun_get_maxmtu() 1997 header_size += IP_MAX_OPT_LENGTH; in iptun_get_maxmtu() 2000 header_size = sizeof (iptun_ipv6hdrs_t); in iptun_get_maxmtu() 2007 maxmtu = pmtu - (header_size + ipsec_overhead); in iptun_get_maxmtu()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | tnf_com.h | 195 tnf_uint32_t header_size; /* size of array header */ member
|
/titanic_41/usr/src/uts/common/tnf/ |
H A D | tnf_types.h | 382 tnf_header_size_t header_size; member
|
H A D | tnf_writer.c | 597 ASSIGN(buffer, header_size, tag_data->tag_size); in tnf_array_tag_1()
|
/titanic_41/usr/src/lib/libtnf/ |
H A D | abi.c | 56 _GET_UINT32(tnf, &((struct tnf_array_type_hdr *)(p))->header_size)
|
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 1846 uint8_t page, ctrl, header_size, pc_valid; in sbd_handle_mode_sense() local 1861 header_size = 4; in sbd_handle_mode_sense() 1864 header_size = 8; in sbd_handle_mode_sense() 1875 if ((cmd_size < header_size) || (pc_valid == 0)) { in sbd_handle_mode_sense() 1887 n += header_size; in sbd_handle_mode_sense()
|
/titanic_41/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 435 header_size(void) in header_size() function
|