Home
last modified time | relevance | path

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

/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h60 #define _IN(_field) offsetof(struct rtnexthop, _field) macro
77 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = snl_field_get_uint8 },
78 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = snl_field_get_uint8 },
79 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifindex), .cb = snl_field_get_uint32 },
90 #undef _IN
131 #define _IN(_field) offsetof(struct rtmsg, _field) macro
156 {.off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = snl_field_get_uint8 },
157 {.off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = snl_field_get_uint8 },
158 {.off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = snl_field_get_uint8 },
159 {.off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = snl_field_get_uint8 },
[all …]
H A Dnetlink_snl_generic.h91 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
111 #undef _IN
H A Dnetlink_snl.h1038 #define _IN(_field) offsetof(struct nlmsgerr, _field) macro
1047 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
1048 { .off_in = _IN(msg), .off_out = _OUT(orig_hdr), .cb = snl_field_get_ptr },
1050 #undef _IN
1054 #define _IN(_field) offsetof(struct nlmsgerr, _field) macro
1057 { .off_in = _IN(error), .off_out = _OUT(error), .cb = snl_field_get_uint32 },
1059 #undef _IN
H A Dnetlink_generic.c245 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
248 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },
255 #undef _IN
/freebsd/sys/netlink/route/
H A Drt.c467 #define _IN(_field) offsetof(struct rtnexthop, _field) macro
474 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = nlf_get_u8 },
475 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = nlf_get_u8 },
476 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifp), .cb = nlf_get_ifpz },
478 #undef _IN
569 #define _IN(_field) offsetof(struct rtmsg, _field) macro
593 { .off_in = _IN(rtm_family), .off_out = _OUT(rtm_family), .cb = nlf_get_u8 },
594 { .off_in = _IN(rtm_dst_len), .off_out = _OUT(rtm_dst_len), .cb = nlf_get_u8 },
595 { .off_in = _IN(rtm_protocol), .off_out = _OUT(rtm_protocol), .cb = nlf_get_u8 },
596 { .off_in = _IN(rtm_type), .off_out = _OUT(rtm_type), .cb = nlf_get_u8 },
[all …]
H A Dneigh.c316 #define _IN(_field) offsetof(struct ndmsg, _field) macro
324 { .off_in = _IN(ndm_family), .off_out = _OUT(ndm_family), .cb = nlf_get_u8 },
325 { .off_in = _IN(ndm_flags), .off_out = _OUT(ndm_flags), .cb = nlf_get_u8_u32 },
326 { .off_in = _IN(ndm_state), .off_out = _OUT(ndm_state), .cb = nlf_get_u16 },
327 { .off_in = _IN(ndm_ifindex), .off_out = _OUT(nda_ifp), .cb = nlf_get_ifpz },
337 #undef _IN
H A Diface.c999 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
1002 { .off_in = _IN(ifi_type), .off_out = _OUT(ifi_type), .cb = nlf_get_u16 },
1003 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = nlf_get_u32 },
1004 { .off_in = _IN(ifi_flags), .off_out = _OUT(ifi_flags), .cb = nlf_get_u32 },
1005 { .off_in = _IN(ifi_change), .off_out = _OUT(ifi_change), .cb = nlf_get_u32 },
1025 #undef _IN
1357 #define _IN(_field) offsetof(struct ifaddrmsg, _field) macro
1360 { .off_in = _IN(ifa_family), .off_out = _OUT(ifa_family), .cb = nlf_get_u8 },
1361 { .off_in = _IN(ifa_prefixlen), .off_out = _OUT(ifa_prefixlen), .cb = nlf_get_u8 },
1362 { .off_in = _IN(ifa_scope), .off_out = _OUT(ifa_scope), .cb = nlf_get_u8 },
[all …]
H A Dnexthop.c703 #define _IN(_field) offsetof(struct nhmsg, _field) macro
715 { .off_in = _IN(nh_family), .off_out = _OUT(nh_family), .cb = nlf_get_u8 },
716 { .off_in = _IN(nh_protocol), .off_out = _OUT(nh_protocol), .cb = nlf_get_u8 },
728 #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_rtnl_gif.c58 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
66 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
68 #undef _IN
H A Dtest_rtnl_gre.c64 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
72 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
74 #undef _IN
H A Dtest_snl.c716 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
723 {.off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
725 #undef _IN
/freebsd/sbin/ifconfig/
H A Difgif.c119 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
127 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index),
130 #undef _IN
H A Difgre.c119 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
127 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index),
130 #undef _IN
H A Difgeneve.c263 #define _IN(_field) offsetof(struct ifinfomsg, _field) macro
271 { .off_in = _IN(ifi_index), .off_out = _OUT(ifi_index), .cb = snl_field_get_uint32 },
273 #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.c1391 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
1397 #undef _IN
1838 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
1843 #undef _IN
1940 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
1976 #undef _IN
2891 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
2899 #undef _IN
/freebsd/sys/netpfil/pf/
H A Dpf_nl.c72 #define _IN(_field) offsetof(struct genlmsghdr, _field) macro
85 { .off_in = _IN(version), .off_out = _OUT(version), .cb = nlf_get_u8 },
87 #undef _IN