Home
last modified time | relevance | path

Searched refs:addr_type (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.61.12/tests/
H A Drecv_link_addr_type.c230 int addr_type = -1; variable
252 addr_type = *(int *)CMSG_DATA(cmsg);
255 T_LOG("received packet to: %s address type: %d", inet_ntoa(addr), addr_type);
258 T_ASSERT_EQ(addr_type, IP_RECV_LINK_ADDR_MULTICAST, "multicast");
260 T_ASSERT_EQ(addr_type, IP_RECV_LINK_ADDR_BROADCAST, "broadcast");
262 T_ASSERT_EQ(addr_type, IP_RECV_LINK_ADDR_UNICAST, "unicast");
393 int addr_type = -1; variable
416 addr_type = *(int *)CMSG_DATA(cmsg);
420 T_LOG("received packet to: %s address type: %d", addrstr, addr_type);
423 T_ASSERT_EQ(addr_type, IP_RECV_LINK_ADDR_MULTICAST, "multicast");
[all …]
/xnu-12377.61.12/bsd/netinet/
H A Dip_flowid.h72 u_int8_t addr_type; /* 4 = ipv4, 6 = ipv6, 1=ether ? */ member
79 #define IS_IP6_FLOW_ID(id) ((id)->addr_type == 6)
/xnu-12377.61.12/bsd/net/
H A Dpf.c6436 dnflow.fwa_id.addr_type = 4; in pf_test_dummynet()
6441 dnflow.fwa_id.addr_type = 6; in pf_test_dummynet()