Home
last modified time | relevance | path

Searched refs:fwmark (Results 1 – 17 of 17) sorted by relevance

/external/iproute2/ip/
Dlink_vti.c72 unsigned int fwmark = 0; in vti_parse_opt() local
117 fwmark = rta_getattr_u32(vtiinfo[IFLA_VTI_FWMARK]); in vti_parse_opt()
191 if (get_u32(&fwmark, *argv, 0)) in vti_parse_opt()
202 addattr32(n, 1024, IFLA_VTI_FWMARK, fwmark); in vti_parse_opt()
258 __u32 fwmark = rta_getattr_u32(tb[IFLA_VTI_FWMARK]); in vti_print_opt() local
260 if (fwmark) { in vti_print_opt()
263 snprintf(b1, sizeof(b1), "0x%x", fwmark); in vti_print_opt()
Dlink_vti6.c67 __u32 fwmark = 0; in vti6_parse_opt() local
112 fwmark = rta_getattr_u32(vtiinfo[IFLA_VTI_FWMARK]); in vti6_parse_opt()
189 if (get_u32(&fwmark, *argv, 0)) in vti6_parse_opt()
203 addattr32(n, 1024, IFLA_VTI_FWMARK, fwmark); in vti6_parse_opt()
258 __u32 fwmark = rta_getattr_u32(tb[IFLA_VTI_FWMARK]); in vti6_print_opt() local
260 if (fwmark) { in vti6_print_opt()
261 snprintf(s2, sizeof(s2), "0x%x", fwmark); in vti6_print_opt()
Dlink_ip6tnl.c103 __u32 fwmark = 0; in ip6tunnel_parse_opt() local
160 fwmark = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FWMARK]); in ip6tunnel_parse_opt()
262 fwmark = 0; in ip6tunnel_parse_opt()
264 if (get_u32(&fwmark, *argv, 0)) in ip6tunnel_parse_opt()
321 addattr32(n, 1024, IFLA_IPTUN_FWMARK, fwmark); in ip6tunnel_parse_opt()
462 __u32 fwmark = rta_getattr_u32(tb[IFLA_IPTUN_FWMARK]); in ip6tunnel_print_opt() local
464 if (fwmark) { in ip6tunnel_print_opt()
467 snprintf(b1, sizeof(b1), "0x%x", fwmark); in ip6tunnel_print_opt()
Dlink_gre6.c108 __u32 fwmark = 0; in gre_parse_opt() local
182 fwmark = rta_getattr_u32(greinfo[IFLA_GRE_FWMARK]); in gre_parse_opt()
354 fwmark = 0; in gre_parse_opt()
356 if (get_u32(&fwmark, *argv, 0)) in gre_parse_opt()
389 addattr32(n, 1024, IFLA_GRE_FWMARK, fwmark); in gre_parse_opt()
548 __u32 fwmark = rta_getattr_u32(tb[IFLA_GRE_FWMARK]); in gre_print_opt() local
550 if (fwmark) { in gre_print_opt()
551 snprintf(s2, sizeof(s2), "0x%x", fwmark); in gre_print_opt()
Diprule.c69 unsigned int fwmark, fwmask; member
118 if (filter.fwmark) { in filter_nlmsg()
123 if (filter.fwmark ^ mark) in filter_nlmsg()
457 __u32 fwmark, fwmask; in iprule_list_flush_or_save() local
463 if (get_u32(&fwmark, *argv, 0)) in iprule_list_flush_or_save()
465 filter.fwmark = fwmark; in iprule_list_flush_or_save()
641 __u32 fwmark, fwmask; in iprule_modify() local
648 if (get_u32(&fwmark, *argv, 0)) in iprule_modify()
650 addattr32(&req.n, sizeof(req), FRA_FWMARK, fwmark); in iprule_modify()
Dlink_gre.c99 __u32 fwmark = 0; in gre_parse_opt() local
176 fwmark = rta_getattr_u32(greinfo[IFLA_GRE_FWMARK]); in gre_parse_opt()
334 if (get_u32(&fwmark, *argv, 0)) in gre_parse_opt()
372 addattr32(n, 1024, IFLA_GRE_FWMARK, fwmark); in gre_parse_opt()
487 __u32 fwmark = rta_getattr_u32(tb[IFLA_GRE_FWMARK]); in gre_print_direct_opt() local
489 if (fwmark) { in gre_print_direct_opt()
490 snprintf(s2, sizeof(s2), "0x%x", fwmark); in gre_print_direct_opt()
Dlink_iptnl.c108 __u32 fwmark = 0; in iptunnel_parse_opt() local
189 fwmark = rta_getattr_u32(iptuninfo[IFLA_IPTUN_FWMARK]); in iptunnel_parse_opt()
333 if (get_u32(&fwmark, *argv, 0)) in iptunnel_parse_opt()
356 addattr32(n, 1024, IFLA_IPTUN_FWMARK, fwmark); in iptunnel_parse_opt()
561 __u32 fwmark = rta_getattr_u32(tb[IFLA_IPTUN_FWMARK]); in iptunnel_print_opt() local
563 if (fwmark) { in iptunnel_print_opt()
564 snprintf(s2, sizeof(s2), "0x%x", fwmark); in iptunnel_print_opt()
/external/libnl/src/
Dnl-fib-lookup.c38 uint64_t fwmark = 0; in main() local
60 fwmark = strtoul(optarg, NULL, 0); in main()
91 flnl_request_set_fwmark(request, fwmark); in main()
/external/libnl/lib/fib_lookup/
Dlookup.c213 uint64_t fwmark; in flnl_lookup_build_request() local
217 fwmark = flnl_request_get_fwmark(req); in flnl_lookup_build_request()
222 fr.fl_fwmark = fwmark != UINT_LEAST64_MAX ? fwmark : 0; in flnl_lookup_build_request()
Drequest.c94 void flnl_request_set_fwmark(struct flnl_request *req, uint64_t fwmark) in flnl_request_set_fwmark() argument
96 req->lr_fwmark = fwmark; in flnl_request_set_fwmark()
/external/kernel-headers/original/uapi/linux/
Dip_vs.h136 __u32 fwmark; /* firwall mark of service */ member
198 __u32 fwmark; /* firwall mark of service */ member
238 __u32 fwmark; /* firwall mark of service */ member
/external/iptables/extensions/
Dlibxt_TPROXY.man19 Marks packets with the given value/mask. The fwmark value set here can be used
Dlibxt_MARK.man2 It can, for example, be used in conjunction with routing based on fwmark (needs
Dlibxt_HMARK.man1 Like MARK, i.e. set the fwmark, but the mark is calculated from hashing
/external/iproute2/doc/actions/
Dactions-general152 # which marks the packet fwmark as 2 and pipes
159 # mark it as fwmark 3 if exceeded
/external/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh188 ip rule add fwmark 1 lookup 100
194 ip rule del fwmark 1 lookup 100
/external/syzkaller/sys/linux/
Dipvs.txt110 fwmark int32[0:4]