Searched refs:rtmsg (Results 1 - 20 of 20) sorted by relevance

/freebsd-current/libexec/bootpd/bootpgw/
H A DMakefile5 SRCS= bootpgw.c getif.c hwaddr.c report.c rtmsg.c
/freebsd-current/libexec/bootpd/tools/bootpef/
H A DMakefile6 hwaddr.c report.c tzone.c rtmsg.c
/freebsd-current/usr.sbin/traceroute/
H A Dfindsaddr-socket.c70 struct rtmsg { struct
71 struct rt_msghdr rtmsg; member in struct:rtmsg
75 static struct rtmsg rtmsg = { variable in typeref:struct:rtmsg
107 rp = &rtmsg.rtmsg;
130 size = sizeof(rtmsg);
/freebsd-current/libexec/bootpd/
H A DMakefile12 lookup.c getif.c hwaddr.c report.c tzone.c rtmsg.c
H A Drtmsg.c73 static int rtmsg(int);
140 if (rtmsg(RTM_GET) < 0) {
170 return (rtmsg(op));
175 rtmsg(int cmd) function
/freebsd-current/sys/compat/linux/
H A Dlinux_netlink.c114 struct rtmsg *rtm = (struct rtmsg *)(hdr + 1);
119 if (hdr->nlmsg_len < sizeof(struct nlmsghdr) + sizeof(struct rtmsg))
129 attrs_len -= NETLINK_ALIGN(sizeof(struct rtmsg));
130 nla_head = (struct nlattr *)((char *)rtm + NETLINK_ALIGN(sizeof(struct rtmsg)));
437 struct rtmsg *rtm;
438 rtm = nlmsg_copy_next_header(hdr, nw, struct rtmsg);
443 int hdrlen = NETLINK_ALIGN(sizeof(struct rtmsg));
/freebsd-current/usr.bin/netstat/
H A Droute_netlink.c291 struct rtmsg rtmsg; member in struct:__anon909
298 .rtmsg.rtm_family = af,
313 struct rtmsg *rtm = (struct rtmsg *)(hdr + 1);
/freebsd-current/usr.sbin/arp/
H A Darp.c83 static struct rt_msghdr *rtmsg(int cmd,
400 rtm = rtmsg(RTM_GET, dst, NULL);
416 return (rtmsg(RTM_ADD, dst, sdl_m) == NULL);
475 rtm = rtmsg(RTM_GET, dst, NULL);
510 if (rtmsg(RTM_DELETE, dst, NULL) != NULL) {
738 rtmsg(int cmd, struct sockaddr_in *dst, struct sockaddr_dl *sdl) function
H A Darp_netlink.c112 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg);
/freebsd-current/usr.sbin/rarpd/
H A Drarpd.c704 } rtmsg; variable in typeref:struct:__anon1018
733 rt = &rtmsg.rthdr;
734 bzero(&rtmsg, sizeof(rtmsg));
739 ar2 = (struct sockaddr_in *)rtmsg.rtspace;
744 logmsg(LOG_ERR, "rtmsg get write: %m");
749 cc = read(r, rt, sizeof(rtmsg));
753 logmsg(LOG_ERR, "rtmsg get read: %m");
773 bzero(rt, sizeof(rtmsg));
793 logmsg(LOG_ERR, "rtmsg ad
[all...]
/freebsd-current/sys/netlink/route/
H A Drt.c179 dump_rc_nhg(struct nl_writer *nw, const struct nhgrp_object *nhg, struct rtmsg *rtm)
221 dump_rc_nhop(struct nl_writer *nw, const struct route_nhop_data *rnd, struct rtmsg *rtm)
263 * Dumps output from a rib command into an rtmsg
271 struct rtmsg *rtm;
276 if (!nlmsg_reply(nw, hdr, sizeof(struct rtmsg)))
281 rtm = nlmsg_reserve_object(nw, struct rtmsg);
323 rtm = nlattr_restore_offset(nw, rtm_off, struct rtmsg);
485 #define _IN(_field) offsetof(struct rtmsg, _field)
524 NL_DECLARE_PARSER_EXT(rtm_parser, struct rtmsg, NULL, nlf_p_rtmsg, nla_p_rtmsg, post_p_rtmsg);
H A Droute.h36 struct rtmsg { struct
130 #define NL_RTM_HDRLEN ((int)sizeof(struct rtmsg))
/freebsd-current/sbin/route/
H A Droute_netlink.c213 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg);
818 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg);
868 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg);
H A Droute.c144 static int rtmsg(int, int, int);
1157 error = rtmsg(*cmd, flags, fib);
1540 rtmsg(int cmd, int flags, int fib) function
/freebsd-current/usr.sbin/ndp/
H A Dndp.c151 static int rtmsg(int);
473 if (rtmsg(RTM_GET) < 0) {
496 return (rtmsg(RTM_ADD));
563 if (rtmsg(RTM_GET) < 0) {
589 if (rtmsg(RTM_DELETE) == 0) {
939 rtmsg(int cmd) function
H A Dndp_netlink.c149 struct rtmsg *rtm = snl_reserve_msg_object(&nw, struct rtmsg);
/freebsd-current/sys/netlink/
H A Dnetlink_snl_route_parsers.h129 #define _IN(_field) offsetof(struct rtmsg, _field)
169 SNL_DECLARE_PARSER_EXT(snl_rtm_route_parser, sizeof(struct rtmsg),
/freebsd-current/tests/sys/netlink/
H A Dnetlink_socket.c281 struct rtmsg rtm;
/freebsd-current/usr.sbin/ppp/
H A Droute.c697 struct rtmsg { struct
737 struct rtmsg rtmes;
864 struct rtmsg rtmes;
/freebsd-current/contrib/ofed/libibverbs/
H A Dneigh.c819 struct rtmsg rmsg = {

Completed in 181 milliseconds