Searched refs:packlen (Results 1 - 5 of 5) sorted by relevance
/macosx-10.9.5/network_cmds-433/traceroute.tproj/ |
H A D | traceroute.c | 359 int packlen; /* total length of packet */ variable 704 packlen = minpacket; /* minimum sized packet */ 710 packlen = str2val(argv[optind + 1], 737 protlen = packlen - sizeof(*outip) - optlen; 739 outip = (struct ip *)malloc((unsigned)packlen); 744 memset((char *)outip, 0, packlen); 750 outip->ip_len = htons(packlen); 753 outip->ip_len = packlen; 852 if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&packlen, 853 sizeof(packlen)) < [all...] |
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | packet.c | 183 u_int packlen; member in struct:session_state 1274 if (aadlen && active_state->packlen == 0) { 1278 active_state->packlen = get_u32(cp); 1279 if (active_state->packlen < 1 + 4 || 1280 active_state->packlen > PACKET_MAX_SIZE) { 1284 logit("Bad packet length %u.", active_state->packlen); 1288 } else if (active_state->packlen == 0) { 1301 active_state->packlen = get_u32(cp); 1302 if (active_state->packlen < 1 + 4 || 1303 active_state->packlen > PACKET_MAX_SIZ [all...] |
/macosx-10.9.5/network_cmds-433/rtadvd.tproj/ |
H A D | config.c | 1082 size_t packlen, lladdroptlen = 0; local 1094 packlen = sizeof(struct nd_router_advert); 1103 packlen += lladdroptlen; 1106 packlen += sizeof(struct nd_opt_prefix_info) * rainfo->pfxs; 1108 packlen += sizeof(struct nd_opt_mtu); 1111 packlen += sizeof(struct nd_opt_route_info) + 1115 packlen += 8 + sizeof(struct in6_addr) * rainfo->rdnss_length; 1118 packlen += rainfo->dnssl_option_length; 1122 if ((buf = malloc(packlen)) == NULL) { 1134 /* XXX: what if packlen > 57 [all...] |
/macosx-10.9.5/network_cmds-433/rtsol.tproj/ |
H A D | rtsold.c | 435 size_t packlen = sizeof(struct nd_router_solicit), lladdroptlen = 0; local 442 packlen += lladdroptlen; 443 ifinfo->rs_datalen = packlen; 446 if ((buf = malloc(packlen)) == NULL) {
|
/macosx-10.9.5/network_cmds-433/ping6.tproj/ |
H A D | ping6.c | 339 int ch, hold, packlen, preload, optval, ret_ga; local 791 packlen = 2048 + IP6LEN + ICMP6ECHOLEN + EXTRA; 793 packlen = datalen + IP6LEN + ICMP6ECHOLEN + EXTRA; 798 packlen = 2048 + IP6LEN + ICMP6ECHOLEN + EXTRA; 801 if (!(packet = (u_char *)malloc((u_int)packlen))) 804 for (i = ICMP6ECHOLEN; i < packlen; ++i) 1305 iov[0].iov_len = packlen;
|
Completed in 153 milliseconds