Home
last modified time | relevance | path

Searched refs:IP_ADDR_LEN (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c2494 len += IP_ADDR_LEN; in ip_opt_get_user()
2531 off -= IP_ADDR_LEN; in ip_opt_get_user()
2536 IP_ADDR_LEN); in ip_opt_get_user()
2537 off -= IP_ADDR_LEN; in ip_opt_get_user()
2541 IP_ADDR_LEN); in ip_opt_get_user()
2609 off2 -= IP_ADDR_LEN; in icmp_options_update()
2614 IP_ADDR_LEN); in icmp_options_update()
2616 off1 += IP_ADDR_LEN; in icmp_options_update()
5799 off += IP_ADDR_LEN; in ip_massage_options()
5814 off = ((optlen - IP_ADDR_LEN - 3) & ~(IP_ADDR_LEN-1)) + in ip_massage_options()
[all …]
H A Dicmp_opt_data.c92 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
95 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
H A Dip_arp.c914 bcopy(arhp, &src_paddr, IP_ADDR_LEN); /* ar$spa */ in arp_process_packet()
916 arhp += IP_ADDR_LEN; in arp_process_packet()
919 bcopy(arhp, &dst_paddr, IP_ADDR_LEN); /* ar$tpa */ in arp_process_packet()
2023 bcopy((char *)&arh[1] + arh->arh_hlen, &src, IP_ADDR_LEN); in arp_excl()
H A Dip_ire.c465 bcopy(addr_ucp, &v4addr, IP_ADDR_LEN); in ip_ire_delete()
512 bcopy(addr, &ire->ire_addr, IP_ADDR_LEN); in ire_init_v4()
514 bcopy(gateway, &ire->ire_gateway_addr, IP_ADDR_LEN); in ire_init_v4()
531 bcopy(mask, &ire->ire_mask, IP_ADDR_LEN); in ire_init_v4()
H A Dipsecah.c3155 if (!(optlen < IP_ADDR_LEN || off > optlen - 3)) { in ah_process_ip_options_v4()
3156 off = optlen - IP_ADDR_LEN; in ah_process_ip_options_v4()
3157 bcopy(&optptr[off], &dst, IP_ADDR_LEN); in ah_process_ip_options_v4()
H A Dspdsock.c705 IPV6_ADDR_LEN : IP_ADDR_LEN; \ in spdsock_ext_to_sel()
1551 addrlen = IP_ADDR_LEN; in spdsock_encode_addr()
H A Dip_ndp.c4799 if (ill->ill_phys_addr_length == IP_ADDR_LEN && in nce_add_common()
H A Dip_if.c13950 #define REPLY_LEN (sizeof (icmp_ipha) + sizeof (icmph_t) + IP_ADDR_LEN) in ipif_mask_reply()
13979 bcopy(&ipif->ipif_net_mask, &icmph[1], IP_ADDR_LEN); in ipif_mask_reply()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_opt_data.c104 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
107 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_opt_data.c154 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
157 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp.c128 IP_ADDR_LEN : sizeof (in6_addr_t); in ibcm_arp_get_ibaddr()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c965 bcopy(&ipha->ipha_src, ph + 1, IP_ADDR_LEN); in sctp_wput_asconf()
979 bcopy(&addr4, ph + 1, IP_ADDR_LEN); in sctp_wput_asconf()
H A Dsctp_opt_data.c1017 uchar_t obuf[SCTP_MAX_IP_OPTIONS_LENGTH + IP_ADDR_LEN]; in sctp_get_opt()
/illumos-gate/usr/src/uts/common/inet/
H A Dip.h112 #define IP_ADDR_LEN IPV4_ADDR_LEN macro