Home
last modified time | relevance | path

Searched defs:rtm (Results 1 – 25 of 48) sorted by relevance

12

/freebsd-src/tests/sys/net/routing/
H A Drtsock_common.h654 rtsock_send_rtm(int fd, struct rt_msghdr *rtm) in rtsock_send_rtm()
697 struct rt_msghdr *rtm; in rtsock_read_rtm_reply() local
717 rtsock_prepare_route_message_base(struct rt_msghdr *rtm, int cmd) in rtsock_prepare_route_message_base()
727 rtsock_prepare_route_message(struct rt_msghdr *rtm, int cmd, struct sockaddr *dst, in rtsock_prepare_route_message()
745 rtsock_add_rtm_sa(struct rt_msghdr *rtm, int addr_type, struct sockaddr *sa) in rtsock_add_rtm_sa()
760 rtsock_find_rtm_sa(struct rt_msghdr *rtm, int addr_type) in rtsock_find_rtm_sa()
776 rtsock_calc_rtm_len(struct rt_msghdr *rtm) in rtsock_calc_rtm_len()
794 rtsock_update_rtm_len(struct rt_msghdr *rtm) in rtsock_update_rtm_len()
835 struct rt_msghdr *rtm; in rtsock_validate_message() local
862 rtsock_validate_pid_ours(struct rt_msghdr *rtm) in rtsock_validate_pid_ours()
[all …]
H A Drtsock_print.h262 rtsock_print_rtm(struct rt_msghdr *rtm) in rtsock_print_rtm()
347 rtsock_print_message_hd(struct rt_msghdr *rtm) in rtsock_print_message_hd()
366 rtsock_print_message(struct rt_msghdr *rtm) in rtsock_print_message()
H A Dtest_rtsock_l3.c159 prepare_route_message(struct rt_msghdr *rtm, int cmd, struct sockaddr *dst, in prepare_route_message()
170 verify_route_message(struct rt_msghdr *rtm, int cmd, struct sockaddr *dst, in verify_route_message()
210 verify_route_message_extra(struct rt_msghdr *rtm, int ifindex, int rtm_flags) in verify_route_message_extra()
230 verify_link_gateway(struct rt_msghdr *rtm, int ifindex) in verify_link_gateway()
/freebsd-src/usr.sbin/arp/
H A Darp.c390 struct rt_msghdr *rtm; in set_rtsock() local
462 struct rt_msghdr *rtm; delete_rtsock() local
538 struct rt_msghdr *rtm; search() local
593 print_entry(struct sockaddr_dl * sdl,struct sockaddr_in * addr,struct rt_msghdr * rtm) print_entry() argument
706 nuke_entry(struct sockaddr_dl * sdl __unused,struct sockaddr_in * addr,struct rt_msghdr * rtm) nuke_entry() argument
751 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; rtmsg() local
[all...]
/freebsd-src/usr.bin/netstat/
H A Dnhgrp.c117 print_nhgroup_entry_sysctl(const char * name,struct rt_msghdr * rtm,struct nhgrp_external * nhge) print_nhgroup_entry_sysctl() argument
199 struct rt_msghdr *rtm; dump_nhgrp_sysctl() local
255 struct rt_msghdr *rtm; print_nhgrp_sysctl() local
314 struct rt_msghdr *rtm; prepare_nh_map() local
[all...]
H A Dnhops.c238 print_nhop_entry_sysctl(const char * name,struct rt_msghdr * rtm,struct nhop_external * nh) print_nhop_entry_sysctl() argument
342 struct rt_msghdr *rtm; dump_nhops_sysctl() local
399 struct rt_msghdr *rtm; print_nhops_sysctl() local
[all...]
H A Dcommon.h75 struct rt_msghdr *rtm; member
H A Droute.c247 struct rt_msghdr *rtm; p_rtable_sysctl() local
306 p_rtentry_sysctl(const char * name,struct rt_msghdr * rtm) p_rtentry_sysctl() argument
[all...]
/freebsd-src/usr.sbin/rtsold/
H A Drtsock.c98 struct rt_msghdr *rtm; in rtsock_input() local
140 rtsock_input_ifannounce(int s __unused, struct rt_msghdr *rtm, char *lim) in rtsock_input_ifannounce()
/freebsd-src/libexec/bootpd/
H A Drtmsg.c120 struct rt_msghdr *rtm = &(m_rtmsg.m_rtm); in bsd_arp_set() local
179 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in rtmsg() local
/freebsd-src/usr.sbin/rtadvd/
H A Dif.c166 struct rt_msghdr *rtm; in get_next_msg() local
260 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; in get_addr() local
272 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; in get_rtm_ifindex() local
284 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; in get_prefixlen() local
/freebsd-src/usr.sbin/ppp/
H A Droute.c309 route_ParseHdr(struct rt_msghdr *rtm, struct sockaddr *sa[RTAX_MAX]) in route_ParseHdr()
329 struct rt_msghdr *rtm; in route_Show() local
381 struct rt_msghdr *rtm; in route_IfDelete() local
472 struct rt_msghdr *rtm; in route_UpdateMTU() local
/freebsd-src/sbin/ipf/ipsend/
H A D44arp.c63 struct rt_msghdr *rtm; in arp() local
/freebsd-src/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c94 mib_sroute_process(struct rt_msghdr *rtm, struct sockaddr *gw, in mib_sroute_process()
231 struct rt_msghdr *rtm; in mib_fetch_route() local
H A DmibII.c1005 process_arp(const struct rt_msghdr *rtm, const struct sockaddr_dl *sdl, in process_arp()
1033 handle_rtmsg(struct rt_msghdr *rtm) in handle_rtmsg()
1204 mib_send_rtmsg(struct rt_msghdr *rtm, struct sockaddr *gw, in mib_send_rtmsg()
1307 struct rt_msghdr *rtm; in update_ifa_info() local
1370 struct rt_msghdr *rtm; in mib_arp_update() local
1412 struct rt_msghdr *rtm; in route_input() local
/freebsd-src/sys/net/
H A Drtsock.c649 fill_addrinfo(struct rt_msghdr * rtm,int len,struct linear_buffer * lb,u_int fibnum,struct rt_addrinfo * info) fill_addrinfo() argument
743 handle_rtm_get(struct rt_addrinfo * info,u_int fibnum,struct rt_msghdr * rtm,struct rib_cmd_info * rc) handle_rtm_get() argument
898 struct rt_msghdr *rtm, *orig_rtm = NULL; update_rtm_from_info() local
947 struct rt_msghdr *rtm; update_rtm_from_rc() local
1032 struct rt_msghdr *rtm = NULL; rts_send() local
1241 send_rtm_reply(struct socket * so,struct rt_msghdr * rtm,struct mbuf * m,sa_family_t saf,u_int fibnum,int rtm_errno) send_rtm_reply() argument
1680 struct rt_msghdr *rtm; rtsock_msg_mbuf() local
1770 struct rt_msghdr *rtm = NULL; rtsock_msg_buffer() local
1900 struct rt_msghdr *rtm; rt_missmsg_fib() local
2037 struct rt_msghdr *rtm; rtsock_routemsg_info() local
2267 struct rt_msghdr *rtm = (struct rt_msghdr *)w->w_tmem; sysctl_dumpnhop() local
[all...]
/freebsd-src/sbin/route/
H A Droute.c492 struct rt_msghdr *rtm; in flushroutes_fib_rtsock() local
1435 struct rt_msghdr *rtm; interfaces() local
1585 #define rtm m_rtmsg.m_rtm rtmsg_rtsock() macro
1685 print_rtmsg(struct rt_msghdr * rtm,size_t msglen) print_rtmsg() argument
1788 print_getmsg(struct rt_msghdr * rtm,int msglen,int fib) print_getmsg() argument
1868 pmsg_common(struct rt_msghdr * rtm,size_t msglen) pmsg_common() argument
[all...]
H A Droute_netlink.c213 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg); in rtmsg_nl_int() local
818 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg); in flushroute_one() local
868 struct rtmsg *rtm in flushroutes_fib_nl() local
[all...]
/freebsd-src/lib/libc/net/
H A Dgetifmaddrs.c66 struct rt_msghdr *rtm; in getifmaddrs() local
H A Dgetifaddrs.c89 struct rt_msghdr *rtm; in getifaddrs() local
/freebsd-src/usr.sbin/ndp/
H A Dndp.c468 struct rt_msghdr *rtm = &(m_rtmsg.m_rtm); set() local
549 register struct rt_msghdr *rtm = &m_rtmsg.m_rtm; delete_rtsock() local
621 struct rt_msghdr *rtm; dump_rtsock() local
943 register struct rt_msghdr *rtm = &m_rtmsg.m_rtm; rtmsg() local
[all...]
/freebsd-src/contrib/netbsd-tests/net/if_loop/
H A Dt_pr.c66 #define rtm m_rtmsg.m_rtm in setup() macro
/freebsd-src/contrib/netbsd-tests/net/config/
H A Dnetconfig.c131 #define rtm m_rtmsg.m_rtm in netcfg_rump_route() macro
/freebsd-src/usr.sbin/route6d/
H A Droute6d.c1696 struct rt_msghdr *rtm; in rtrecv() local
2464 rttypes(struct rt_msghdr *rtm) in rttypes()
2499 rtflags(struct rt_msghdr *rtm) in rtflags()
2600 struct rt_msghdr *rtm; in krtread() local
2650 rt_entry(struct rt_msghdr *rtm, int again) in rt_entry()
2817 struct rt_msghdr *rtm; in addroute() local
2889 struct rt_msghdr *rtm; in delroute() local
/freebsd-src/sbin/routed/
H A Dtable.c873 rtm_add(struct rt_msghdr *rtm, in rtm_add()
977 rtm_lose(struct rt_msghdr *rtm, in rtm_lose()
1037 struct rt_msghdr *rtm; in flush_kern() local
1151 struct rt_msghdr rtm; in read_rt() member

12