Searched refs:rt_msghdr (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.41.6/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) 668 struct rt_msghdr hdr; 908 struct rt_msghdr *rtm = NULL; in has_ipv4_default_route() 915 T_QUIET; T_ASSERT_NOTNULL(rtm = (struct rt_msghdr *)calloc(1, RTM_BUFLEN), NULL); in has_ipv4_default_route() 917 rtm->rtm_msglen = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in); in has_ipv4_default_route() 954 struct rt_msghdr *rtm = NULL; in has_ipv6_default_route() 960 T_QUIET; T_ASSERT_NOTNULL(rtm = (struct rt_msghdr *)calloc(1, RTM_BUFLEN), NULL); in has_ipv6_default_route() 962 rtm->rtm_msglen = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in6); in has_ipv6_default_route() 1087 struct rt_msghdr *rtm; in inet6_get_linklocal_address() 1101 rtm = (struct rt_msghdr *)(void *)scan; in inet6_get_linklocal_address()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | rtsock.c | 307 static struct rt_msghdr * 314 return (struct rt_msghdr*)rtm_data; in _rtm_hdr() 405 if (rt_xaddrs(rtm_buf + sizeof(struct rt_msghdr), rtm_buf + rtm_len, &info, tiny_sa_storage)) { in route_output() 705 struct rt_msghdr *out_rtm = _rtm_hdr(rtm_tmpbuf); in route_output() 706 bcopy(RTM, out_rtm, sizeof(struct rt_msghdr)); in route_output() 1320 len = sizeof(struct rt_msghdr); in rt_msg1() 1426 len = sizeof(struct rt_msghdr); in rt_msg2() 1633 struct rt_msghdr *rtm; in rt_newaddrmsg() 1644 rtm = mtod(m, struct rt_msghdr *); in rt_newaddrmsg() 1821 struct rt_msghdr *rtm = in sysctl_dumpentry() [all …]
|
| H A D | route.h | 158 struct rt_msghdr { struct
|
| /xnu-12377.41.6/tests/skywalk/ |
| H A D | skywalk_test_common.c | 2052 struct rt_msghdr hdr; 2669 static struct rt_msghdr * 2680 struct rt_msghdr m_rtm; in rtmsg() 2684 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in rtmsg() 2758 struct rt_msghdr *rtm; in skt_add_arp_entry()
|