Symbol: IP_ADDR_LEN
usr/src/uts/common/inet/ip/icmp_opt_data.c
92
IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
usr/src/uts/common/inet/ip/icmp_opt_data.c
95
IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
usr/src/uts/common/inet/ip/ip.c
11558
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
11559
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
11667
if (!(optlen < IP_ADDR_LEN || off > optlen - 3)) {
usr/src/uts/common/inet/ip/ip.c
11668
off = optlen - IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
11669
bcopy(&opt[off], &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
12024
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
12025
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
12052
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
12053
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
12060
bcopy(&dst, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
12061
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
12073
bcopy((char *)opt + off, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
12080
off = IP_ADDR_LEN + IPOPT_TS_TIMELEN;
usr/src/uts/common/inet/ip/ip.c
12104
bcopy(&dst, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
12105
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
13129
off = IP_ADDR_LEN + IPOPT_TS_TIMELEN;
usr/src/uts/common/inet/ip/ip.c
15094
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
15095
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
15099
bcopy((char *)opt + off, &nexthop, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
15143
off2 = opt[IPOPT_OFFSET] - IP_ADDR_LEN - 1;
usr/src/uts/common/inet/ip/ip.c
15145
bcopy(opt + off2, &tmp, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
15146
bcopy(opt + off1, opt + off2, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
15147
bcopy(&tmp, opt + off2, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
15148
off2 -= IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
15149
off1 += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
1525
len_needed = ip_hdr_length + ICMPH_SIZE + IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
1570
bcopy(&ipif->ipif_net_mask, &icmph[1], IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2493
buf += IP_ADDR_LEN; /* Leave room for final destination */
usr/src/uts/common/inet/ip/ip.c
2494
len += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
2495
bzero(buf1, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2523
off = optlen - IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
2530
bcopy(opt + off, buf1, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2531
off -= IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
2535
buf + off + IP_ADDR_LEN,
usr/src/uts/common/inet/ip/ip.c
2536
IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2537
off -= IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
2540
bcopy(&dst, buf + off + IP_ADDR_LEN,
usr/src/uts/common/inet/ip/ip.c
2541
IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2599
off2 = opt[IPOPT_OFFSET] - IP_ADDR_LEN - 1;
usr/src/uts/common/inet/ip/ip.c
2606
bcopy((char *)opt + off2, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2607
bcopy(&ipha->ipha_dst, (char *)opt + off2, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2608
bcopy(&dst, &ipha->ipha_dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2609
off2 -= IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
2612
bcopy((char *)opt + off1, &src, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2614
IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2615
bcopy(&src, (char *)opt + off2, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
2616
off1 += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
2617
off2 -= IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
5783
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
5784
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
5789
bcopy((char *)opt + off, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
5799
off += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
5814
off = ((optlen - IP_ADDR_LEN - 3) & ~(IP_ADDR_LEN-1)) +
usr/src/uts/common/inet/ip/ip.c
5816
bcopy(&opt[off], &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
5821
opt[IP_ADDR_LEN] = opt[0];
usr/src/uts/common/inet/ip/ip.c
5822
opt[IP_ADDR_LEN+1] = opt[IPOPT_OLEN] - IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
5823
opt[IP_ADDR_LEN+2] = opt[IPOPT_OFFSET];
usr/src/uts/common/inet/ip/ip.c
5824
for (i = 0; i < IP_ADDR_LEN; i++)
usr/src/uts/common/inet/ip/ip.c
9086
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
9087
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
9101
bcopy((char *)opt + off, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9102
bcopy(&ifaddr, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9111
off += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9112
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9116
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9121
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
9122
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
9136
bcopy(&ifaddr, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9137
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9150
bcopy((char *)opt + off, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9157
off = IP_ADDR_LEN + IPOPT_TS_TIMELEN;
usr/src/uts/common/inet/ip/ip.c
9188
bcopy(&ifaddr, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9189
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9321
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
9322
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
9350
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
9351
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
9364
bcopy(&ifaddr, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9365
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9378
bcopy((char *)opt + off, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9385
off = IP_ADDR_LEN + IPOPT_TS_TIMELEN;
usr/src/uts/common/inet/ip/ip.c
9415
bcopy(&ifaddr, (char *)opt + off, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9416
opt[IPOPT_OFFSET] += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9505
if (optlen < IP_ADDR_LEN ||
usr/src/uts/common/inet/ip/ip.c
9506
off > optlen - IP_ADDR_LEN) {
usr/src/uts/common/inet/ip/ip.c
9511
bcopy((char *)opt + off, &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip.c
9522
off += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip.c
9587
off = IP_ADDR_LEN + IPOPT_TS_TIMELEN;
usr/src/uts/common/inet/ip/ip_arp.c
2023
bcopy((char *)&arh[1] + arh->arh_hlen, &src, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip_arp.c
914
bcopy(arhp, &src_paddr, IP_ADDR_LEN); /* ar$spa */
usr/src/uts/common/inet/ip/ip_arp.c
916
arhp += IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ip_arp.c
919
bcopy(arhp, &dst_paddr, IP_ADDR_LEN); /* ar$tpa */
usr/src/uts/common/inet/ip/ip_if.c
13951
#define REPLY_LEN (sizeof (icmp_ipha) + sizeof (icmph_t) + IP_ADDR_LEN)
usr/src/uts/common/inet/ip/ip_if.c
13980
bcopy(&ipif->ipif_net_mask, &icmph[1], IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip_ire.c
465
bcopy(addr_ucp, &v4addr, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip_ire.c
512
bcopy(addr, &ire->ire_addr, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip_ire.c
514
bcopy(gateway, &ire->ire_gateway_addr, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip_ire.c
531
bcopy(mask, &ire->ire_mask, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/ip_ndp.c
4799
if (ill->ill_phys_addr_length == IP_ADDR_LEN &&
usr/src/uts/common/inet/ip/ipsecah.c
3155
if (!(optlen < IP_ADDR_LEN || off > optlen - 3)) {
usr/src/uts/common/inet/ip/ipsecah.c
3156
off = optlen - IP_ADDR_LEN;
usr/src/uts/common/inet/ip/ipsecah.c
3157
bcopy(&optptr[off], &dst, IP_ADDR_LEN);
usr/src/uts/common/inet/ip/spdsock.c
1551
addrlen = IP_ADDR_LEN;
usr/src/uts/common/inet/ip/spdsock.c
705
IPV6_ADDR_LEN : IP_ADDR_LEN; \
usr/src/uts/common/inet/sctp/sctp_asconf.c
965
bcopy(&ipha->ipha_src, ph + 1, IP_ADDR_LEN);
usr/src/uts/common/inet/sctp/sctp_asconf.c
979
bcopy(&addr4, ph + 1, IP_ADDR_LEN);
usr/src/uts/common/inet/sctp/sctp_opt_data.c
1017
uchar_t obuf[SCTP_MAX_IP_OPTIONS_LENGTH + IP_ADDR_LEN];
usr/src/uts/common/inet/tcp/tcp_opt_data.c
156
IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
usr/src/uts/common/inet/tcp/tcp_opt_data.c
159
IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
usr/src/uts/common/inet/udp/udp_opt_data.c
104
IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
usr/src/uts/common/inet/udp/udp_opt_data.c
107
IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c
128
IP_ADDR_LEN : sizeof (in6_addr_t);