Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c129 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 Dsip_msg.c546 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 Dsip_ui.c801 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 Dsip_headers.c224 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_50/usr/src/common/ucode/
H A Ducode_utils.c49 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_50/usr/src/uts/common/inet/ip/
H A Dip6_rts.c88 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 Dip_rts.c1721 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_50/usr/src/lib/libpkg/common/
H A Ddstream.c298 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_50/usr/src/uts/i86pc/os/
H A Dmicrocode.c518 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_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_filter.c557 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_50/usr/src/uts/common/inet/iptun/
H A Diptun.c524 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_50/usr/src/uts/common/sys/
H A Dtnf_com.h195 tnf_uint32_t header_size; /* size of array header */ member
/titanic_50/usr/src/uts/common/tnf/
H A Dtnf_types.h382 tnf_header_size_t header_size; member
H A Dtnf_writer.c597 ASSIGN(buffer, header_size, tag_data->tag_size); in tnf_array_tag_1()
/titanic_50/usr/src/lib/libtnf/
H A Dabi.c56 _GET_UINT32(tnf, &((struct tnf_array_type_hdr *)(p))->header_size)
/titanic_50/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c1846 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_50/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c435 header_size(void) in header_size() function