Searched refs:rt_msghdr (Results 1 – 6 of 6) sorted by relevance
| /xnu-11417.101.15/tests/ |
| H A D | route_output_stack_oflow_56033075.c | 19 sizeof(struct rt_msghdr) + 24 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; 32 len = sizeof(struct rt_msghdr); 65 len = sizeof(struct rt_msghdr);
|
| H A D | net_test_lib.c | 37 #define RTM_BUFLEN (sizeof(struct rt_msghdr) + 6 * SOCK_MAXADDRLEN) 642 struct rt_msghdr hdr; 882 struct rt_msghdr *rtm = NULL; in has_ipv4_default_route() 889 T_QUIET; T_ASSERT_NOTNULL(rtm = (struct rt_msghdr *)calloc(1, RTM_BUFLEN), NULL); in has_ipv4_default_route() 891 rtm->rtm_msglen = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in); in has_ipv4_default_route() 928 struct rt_msghdr *rtm = NULL; in has_ipv6_default_route() 934 T_QUIET; T_ASSERT_NOTNULL(rtm = (struct rt_msghdr *)calloc(1, RTM_BUFLEN), NULL); in has_ipv6_default_route() 936 rtm->rtm_msglen = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in6); in has_ipv6_default_route()
|
| H A D | inet6_addr_mode.c | 126 struct rt_msghdr *rtm; in inet6_get_linklocal_address() 140 rtm = (struct rt_msghdr *)(void *)scan; in inet6_get_linklocal_address()
|
| /xnu-11417.101.15/bsd/net/ |
| H A D | rtsock.c | 306 static struct rt_msghdr * 313 return (struct rt_msghdr*)rtm_data; in _rtm_hdr() 404 if (rt_xaddrs(rtm_buf + sizeof(struct rt_msghdr), rtm_buf + rtm_len, &info, tiny_sa_storage)) { in route_output() 700 struct rt_msghdr *out_rtm = _rtm_hdr(rtm_tmpbuf); in route_output() 701 bcopy(RTM, out_rtm, sizeof(struct rt_msghdr)); in route_output() 1315 len = sizeof(struct rt_msghdr); in rt_msg1() 1421 len = sizeof(struct rt_msghdr); in rt_msg2() 1628 struct rt_msghdr *rtm; in rt_newaddrmsg() 1639 rtm = mtod(m, struct rt_msghdr *); in rt_newaddrmsg() 1816 struct rt_msghdr *rtm = in sysctl_dumpentry() [all …]
|
| H A D | route.h | 158 struct rt_msghdr { struct
|
| /xnu-11417.101.15/tests/skywalk/ |
| H A D | skywalk_test_common.c | 2052 struct rt_msghdr hdr; 2721 static struct rt_msghdr * 2732 struct rt_msghdr m_rtm; in rtmsg() 2736 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in rtmsg() 2810 struct rt_msghdr *rtm; in skt_add_arp_entry()
|