Home
last modified time | relevance | path

Searched refs:_IN (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h58 #define _IN(_field) offsetof(struct rtnexthop, _field) macro
73 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = snl_field_get_uint8 },
74 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = snl_field_get_uint8 },
75 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifindex), .cb = snl_field_get_uint32 },
86 #undef _IN
129 #define _IN(_field) offsetof(struct rtmsg, _field) macro
152 {.off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = snl_field_get_uint8 },
153 {.off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = snl_field_get_uint8 },
154 {.off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = snl_field_get_uint8 },
155 {.off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = snl_field_get_uint8 },
[all …]
H A Dnetlink_snl_generic.h96 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
116 #undef _IN
H A Dnetlink_snl.h939 #define _IN(_field) offsetof(struct nlmsgerr, _field) macro
948 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
949 { .off_in = _IN(msg), .off_out = _OUT(orig_hdr), .cb = snl_field_get_ptr },
951 #undef _IN
955 #define _IN(_field) offsetof(struct nlmsgerr, _field) macro
958 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
960 #undef _IN
H A Dnetlink_generic.c239 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
242 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },
249 #undef _IN
/freebsd/sys/netlink/route/
H A Drt.c404 #define _IN(_field) offsetof(struct rtnexthop, _field) macro
411 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = nlf_get_u8 },
412 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = nlf_get_u8 },
413 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifp), .cb = nlf_get_ifpz },
415 #undef _IN
499 #define _IN(_field) offsetof(struct rtmsg, _field)
520 { .off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = nlf_get_u8 }, in post_p_rtmsg()
521 { .off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = nlf_get_u8 }, in post_p_rtmsg()
522 { .off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = nlf_get_u8 }, in post_p_rtmsg()
523 { .off_in = _IN(rtm_typ in post_p_rtmsg()
487 #define _IN( global() macro
[all...]
H A Dneigh.c317 #define _IN(_field) offsetof(struct ndmsg, _field) macro
325 { .off_in = _IN(ndm_family), .off_out = _OUT(ndm_family), .cb = nlf_get_u8 },
326 { .off_in = _IN(ndm_flags), .off_out = _OUT(ndm_flags), .cb = nlf_get_u8_u32 },
327 { .off_in = _IN(ndm_state), .off_out = _OUT(ndm_state), .cb = nlf_get_u16 },
328 { .off_in = _IN(ndm_ifindex), .off_out = _OUT(nda_ifp), .cb = nlf_get_ifpz },
338 #undef _IN
H A Diface.c390 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
393 { .off_in = _IN(ifi_type), .off_out = _OUT(ifi_type), .cb = nlf_get_u16 },
394 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = nlf_get_u32 },
395 { .off_in = _IN(ifi_flags), .off_out = _OUT(ifi_flags), .cb = nlf_get_u32 },
396 { .off_in = _IN(ifi_change), .off_out = _OUT(ifi_change), .cb = nlf_get_u32 },
414 #undef _IN
741 #define _IN(_field) offsetof(struct ifaddrmsg, _field) macro
744 { .off_in = _IN(ifa_family), .off_out = _OUT(ifa_family), .cb = nlf_get_u8 },
745 { .off_in = _IN(ifa_prefixlen), .off_out = _OUT(ifa_prefixlen), .cb = nlf_get_u8 },
746 { .off_in = _IN(ifa_scope), .off_out = _OUT(ifa_scope), .cb = nlf_get_u8 },
[all …]
H A Dnexthop.c707 #define _IN(_field) offsetof(struct nhmsg, _field) macro
719 { .off_in = _IN(nh_family), .off_out = _OUT(nh_family), .cb = nlf_get_u8 },
720 { .off_in = _IN(nh_protocol), .off_out = _OUT(nh_protocol), .cb = nlf_get_u8 },
732 #undef _IN
/freebsd/sbin/pflowctl/
H A Dpflowctl.c83 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
89 #undef _IN
135 #define _IN(_field) offsetof(struct genlmsghsdr, _field) macro
141 #undef _IN
260 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
271 #undef _IN
/freebsd/tests/sys/netlink/
H A Dtest_snl.c184 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
191 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
193 #undef _IN
/freebsd/sys/tests/
H A Dktest.c67 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
78 #undef _IN
/freebsd/lib/libpfctl/
H A Dlibpfctl.c1354 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
1360 #undef _IN
1779 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
1784 #undef _IN
1884 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
1918 #undef _IN
2472 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
2480 #undef _IN
/freebsd/sys/netpfil/pf/
H A Dpf_nl.c65 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
77 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },
79 #undef _IN