/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_slp.c | 144 int totallen; member 622 static void reg_tcp_cont(char *msg, int totallen, in reg_tcp_cont() argument 633 tce->msg = malloc(totallen); in reg_tcp_cont() 635 tce->totallen = totallen; in reg_tcp_cont() 645 if ((fraglen + tce->curr_offset) > tce->totallen) in add_tcp_cont() 692 int totallen = 0; in interpret_slp_v2() local 708 if (v2_header(flags, slp, &totallen, fraglen)) { in interpret_slp_v2() 747 totallen - fraglen); in interpret_slp_v2() 764 int *totallen, in v2_header() argument 809 *totallen = netval; in v2_header() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 1659 int next, token, sa_len, alloclen, totallen = sizeof (msg), prefix; in doaddup() local 1725 totallen += sizeof (*assoc); in doaddup() 1759 totallen += sizeof (*sadb_pair); in doaddup() 1968 totallen += alloclen; in doaddup() 2005 totallen += alloclen; in doaddup() 2071 totallen += alloclen; in doaddup() 2100 totallen -= alloclen; in doaddup() 2160 totallen += alloclen; in doaddup() 2189 totallen -= alloclen; in doaddup() 2223 totallen += alloclen; in doaddup() [all …]
|
H A D | ikeadm.c | 2757 int totallen; in do_getdel_doorcall() local 2774 totallen = sizeof (ike_get_t) + idlen; in do_getdel_doorcall() 2775 if ((reqp = (ike_service_t *)malloc(totallen)) == NULL) in do_getdel_doorcall() 2780 getp->get_len = totallen; in do_getdel_doorcall() 2786 rtnp = ikedoor_call((char *)reqp, totallen, NULL, 0); in do_getdel_doorcall()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 133 uint32_t totallen; in tsol_get_option_v4() local 145 totallen = ipha->ipha_version_and_hdr_length - in tsol_get_option_v4() 147 totallen <<= 2; in tsol_get_option_v4() 148 if (totallen < IP_SIMPLE_HDR_LENGTH || totallen > MBLKL(mp)) in tsol_get_option_v4() 150 totallen -= IP_SIMPLE_HDR_LENGTH; in tsol_get_option_v4() 151 if (totallen == 0) in tsol_get_option_v4() 159 while (totallen != 0) { in tsol_get_option_v4() 167 if (totallen <= IPOPT_OLEN) in tsol_get_option_v4() 173 if (optlen > totallen) in tsol_get_option_v4() 189 totallen -= optlen; in tsol_get_option_v4()
|
H A D | ip.c | 2331 uint32_t totallen; /* total length of all options */ in ipoptp_first() local 2333 totallen = ipha->ipha_version_and_hdr_length - in ipoptp_first() 2335 totallen <<= 2; in ipoptp_first() 2337 optp->ipoptp_end = optp->ipoptp_next + totallen; in ipoptp_first() 2344 ipoptp_first2(ipoptp_t *optp, uint32_t totallen, uint8_t *opt) in ipoptp_first2() argument 2347 optp->ipoptp_end = optp->ipoptp_next + totallen; in ipoptp_first2() 2478 uint32_t totallen; in ip_opt_get_user() local 2485 totallen = ipp->ipp_ipv4_options_len; in ip_opt_get_user() 2486 if (totallen & 0x3) in ip_opt_get_user() 2495 for (optval = ipoptp_first2(&opts, totallen, ipp->ipp_ipv4_options); in ip_opt_get_user() [all …]
|
/titanic_44/usr/src/lib/libc/port/i18n/ |
H A D | gettext_util.c | 91 uint32_t cblen, loclen, catlen, totallen; in mk_msgfile() local 124 totallen = cblen + loclen + 1 + catlen + 1 + in mk_msgfile() 126 if (totallen >= MAXPATHLEN) in mk_msgfile()
|
/titanic_44/usr/src/cmd/ipf/tools/ |
H A D | ipfstat.c | 1070 u_long minlen, maxlen, totallen, *buckets; local 1107 totallen = 0; 1115 totallen += buckets[i]; 1123 ipsp->iss_inuse ? (float) totallen/ ipsp->iss_inuse :
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | uds_daemon.c | 3425 int totallen; in create_reply() local 3433 totallen = (int) (datalen + sizeof(ipc_msg_hdr)); in create_reply() 3440 reply->len = totallen; in create_reply() 3441 reply->msgbuf = mallocL("create_reply", totallen); in create_reply() 3443 bzero(reply->msgbuf, totallen); in create_reply() 3449 reply->mhdr->datalen = totallen - sizeof(ipc_msg_hdr); in create_reply()
|
/titanic_44/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 1976 int totallen = 0; in nxge_rx_pkts() local 2059 totallen += MBLKL(nmp); in nxge_rx_pkts() 2064 totallen += MBLKL(nmp); in nxge_rx_pkts() 2068 totallen += MBLKL(mp_cont); in nxge_rx_pkts() 2072 totallen += MBLKL(mp_cont); in nxge_rx_pkts() 2120 (totallen >= bytes_to_pickup)) { in nxge_rx_pkts()
|
/titanic_44/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 89 static void dcd_validate_model_serial(char *str, int *retlen, int totallen); 4152 dcd_validate_model_serial(char *str, int *retlen, int totallen) in dcd_validate_model_serial() argument 4159 for (i = 0, tb = 0; i < totallen; i++) { in dcd_validate_model_serial() 4171 *retlen = totallen - tb; in dcd_validate_model_serial()
|
/titanic_44/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | spnego_mech.c | 3764 unsigned int totallen) in g_make_token_header() argument 3773 if ((ret = gssint_put_der_length(hdrsize + body_size, buf, totallen))) in g_make_token_header() 3778 totallen - (int)(p - *buf)))) in g_make_token_header()
|
/titanic_44/usr/src/uts/common/io/hxge/ |
H A D | hxge_rxdma.c | 1414 int totallen = 0; in hxge_rx_pkts() local 1523 totallen += MBLKL(mp_cont); in hxge_rx_pkts() 1563 (totallen >= bytes_to_read)) { in hxge_rx_pkts()
|