/kernel/linux/linux-5.10/net/ipv4/ |
D | ipip.c | 406 __u32 *fwmark) in ipip_netlink_parms() argument 446 *fwmark = nla_get_u32(data[IFLA_IPTUN_FWMARK]); in ipip_netlink_parms() 490 __u32 fwmark = 0; in ipip_newlink() local 499 ipip_netlink_parms(data, &p, &t->collect_md, &fwmark); in ipip_newlink() 500 return ip_tunnel_newlink(dev, tb, &p, fwmark); in ipip_newlink() 511 __u32 fwmark = t->fwmark; in ipip_changelink() local 520 ipip_netlink_parms(data, &p, &collect_md, &fwmark); in ipip_changelink() 528 return ip_tunnel_changelink(dev, tb, &p, fwmark); in ipip_changelink() 576 nla_put_u32(skb, IFLA_IPTUN_FWMARK, tunnel->fwmark)) in ipip_fill_info()
|
D | ip_vti.c | 532 __u32 *fwmark) in vti_netlink_parms() argument 559 *fwmark = nla_get_u32(data[IFLA_VTI_FWMARK]); in vti_netlink_parms() 567 __u32 fwmark = 0; in vti_newlink() local 569 vti_netlink_parms(data, &parms, &fwmark); in vti_newlink() 570 return ip_tunnel_newlink(dev, tb, &parms, fwmark); in vti_newlink() 578 __u32 fwmark = t->fwmark; in vti_changelink() local 581 vti_netlink_parms(data, &p, &fwmark); in vti_changelink() 582 return ip_tunnel_changelink(dev, tb, &p, fwmark); in vti_changelink() 613 nla_put_u32(skb, IFLA_VTI_FWMARK, t->fwmark)) in vti_fill_info()
|
D | ip_gre.c | 1129 __u32 *fwmark) in ipgre_netlink_parms() argument 1187 *fwmark = nla_get_u32(data[IFLA_GRE_FWMARK]); in ipgre_netlink_parms() 1196 __u32 *fwmark) in erspan_netlink_parms() argument 1201 err = ipgre_netlink_parms(dev, data, tb, parms, fwmark); in erspan_netlink_parms() 1355 __u32 fwmark = 0; in ipgre_newlink() local 1362 err = ipgre_netlink_parms(dev, data, tb, &p, &fwmark); in ipgre_newlink() 1365 return ip_tunnel_newlink(dev, tb, &p, fwmark); in ipgre_newlink() 1373 __u32 fwmark = 0; in erspan_newlink() local 1380 err = erspan_netlink_parms(dev, data, tb, &p, &fwmark); in erspan_newlink() 1383 return ip_tunnel_newlink(dev, tb, &p, fwmark); in erspan_newlink() [all …]
|
D | ip_tunnel.c | 298 tunnel->fwmark, 0); in ip_tunnel_bind_dev() 730 tunnel->fwmark, skb_get_hash(skb)); in ip_tunnel_xmit() 829 __u32 fwmark) in ip_tunnel_update() argument 846 if (t->parms.link != p->link || t->fwmark != fwmark) { in ip_tunnel_update() 850 t->fwmark = fwmark; in ip_tunnel_update() 1128 struct ip_tunnel_parm *p, __u32 fwmark) in ip_tunnel_newlink() argument 1149 nt->fwmark = fwmark; in ip_tunnel_newlink() 1182 struct ip_tunnel_parm *p, __u32 fwmark) in ip_tunnel_changelink() argument 1214 ip_tunnel_update(itn, t, dev, p, !tb[IFLA_MTU], fwmark); in ip_tunnel_changelink()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_sched.c | 148 if (svc->fwmark) { in ip_vs_scheduler_err() 150 sched_name, svc->fwmark, svc->fwmark, msg); in ip_vs_scheduler_err()
|
D | ip_vs_ctl.c | 295 static inline unsigned int ip_vs_svc_fwm_hashkey(struct netns_ipvs *ipvs, __u32 fwmark) in ip_vs_svc_fwm_hashkey() argument 297 return (((size_t)ipvs>>8) ^ fwmark) & IP_VS_SVC_TAB_MASK; in ip_vs_svc_fwm_hashkey() 315 if (svc->fwmark == 0) { in ip_vs_svc_hash() 326 hash = ip_vs_svc_fwm_hashkey(svc->ipvs, svc->fwmark); in ip_vs_svc_hash() 349 if (svc->fwmark == 0) { in ip_vs_svc_unhash() 395 __ip_vs_svc_fwm_find(struct netns_ipvs *ipvs, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument 401 hash = ip_vs_svc_fwm_hashkey(ipvs, fwmark); in __ip_vs_svc_fwm_find() 404 if (svc->fwmark == fwmark && svc->af == af in __ip_vs_svc_fwm_find() 416 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() argument 424 if (fwmark) { in ip_vs_service_find() [all …]
|
D | ip_vs_sync.c | 144 __be32 fwmark; /* Firewall mark from skb */ member 166 __be32 fwmark; /* Firewall mark from skb */ member 730 s->v4.fwmark = htonl(cp->fwmark); in ip_vs_sync_conn() 846 unsigned long timeout, __u32 fwmark, in ip_vs_proc_conn() argument 910 fwmark, flags); in ip_vs_proc_conn() 913 fwmark); in ip_vs_proc_conn() 1180 ntohl(s->v4.timeout), ntohl(s->v4.fwmark), in ip_vs_proc_sync_conn() 1187 ntohl(s->v6.timeout), ntohl(s->v6.fwmark), in ip_vs_proc_sync_conn()
|
D | ip_vs_conn.c | 664 cp->protocol, cp->fwmark, cp->flags); in ip_vs_try_bind_dest() 943 struct ip_vs_dest *dest, __u32 fwmark) in ip_vs_conn_new() argument 971 cp->fwmark = fwmark; in ip_vs_conn_new()
|
D | ip_vs_core.c | 275 const union nf_inet_addr fwmark = { .ip = htonl(svc->fwmark) }; in ip_vs_sched_persist() local 338 if (svc->fwmark) { in ip_vs_sched_persist() 340 vaddr = &fwmark; in ip_vs_sched_persist() 528 if (!svc->fwmark && vport != svc->port) { in ip_vs_schedule() 612 if (sysctl_cache_bypass(ipvs) && svc->fwmark && in ip_vs_leave() 1162 if (svc->fwmark) in ip_vs_new_conn_out()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | ip_vs.h | 101 __u32 fwmark; member 136 __u32 fwmark; member 160 __u32 fwmark; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | ip_vs.h | 93 __u32 fwmark; member 136 __u32 fwmark; member 165 __u32 fwmark; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | ip_vs.h | 149 __u32 fwmark; /* firwall mark of service */ member 211 __u32 fwmark; /* firwall mark of service */ member 251 __u32 fwmark; /* firwall mark of service */ member
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | sit.c | 935 flowi4_init_output(&fl4, tunnel->parms.link, tunnel->fwmark, in ipip6_tunnel_xmit() 1136 __u32 fwmark) in ipip6_tunnel_update() argument 1151 if (t->parms.link != p->link || t->fwmark != fwmark) { in ipip6_tunnel_update() 1153 t->fwmark = fwmark; in ipip6_tunnel_update() 1320 ipip6_tunnel_update(t, p, t->fwmark); in ipip6_tunnel_change() 1493 __u32 *fwmark) in ipip6_netlink_parms() argument 1533 *fwmark = nla_get_u32(data[IFLA_IPTUN_FWMARK]); in ipip6_netlink_parms() 1627 ipip6_netlink_parms(data, &nt->parms, &nt->fwmark); in ipip6_newlink() 1667 __u32 fwmark = t->fwmark; in ipip6_changelink() local 1679 ipip6_netlink_parms(data, &p, &fwmark); in ipip6_changelink() [all …]
|
D | ip6_vti.c | 721 t->parms.fwmark = p->fwmark; in vti6_tnl_change() 1004 parms->fwmark = nla_get_u32(data[IFLA_VTI_FWMARK]); in vti6_netlink_parms() 1087 nla_put_u32(skb, IFLA_VTI_FWMARK, parm->fwmark)) in vti6_fill_info()
|
D | ip6_gre.c | 657 fl6->flowi6_mark = t->parms.fwmark; in prepare_ip6gre_xmit_ipv4() 702 fl6->flowi6_mark = t->parms.fwmark; in prepare_ip6gre_xmit_ipv6() 1210 t->parms.fwmark = p->fwmark; in ip6gre_tnl_copy_tnl_parm() 1827 parms->fwmark = nla_get_u32(data[IFLA_GRE_FWMARK]); in ip6gre_netlink_parms() 2179 nla_put_u32(skb, IFLA_GRE_FWMARK, p->fwmark)) in ip6gre_fill_info()
|
D | ip6_tunnel.c | 1377 fl6.flowi6_mark = t->parms.fwmark; in ipxip6_tnl_xmit() 1558 t->parms.fwmark = p->fwmark; in ip6_tnl_change() 2018 parms->fwmark = nla_get_u32(data[IFLA_IPTUN_FWMARK]); in ip6_tnl_netlink_parms() 2179 nla_put_u32(skb, IFLA_IPTUN_FWMARK, parm->fwmark)) in ip6_tnl_fill_info()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | device.h | 55 u32 fwmark; member
|
D | socket.c | 27 .flowi4_mark = wg->fwmark, in send4() 36 skb->mark = wg->fwmark; in send4() 105 .flowi6_mark = wg->fwmark, in send6() 116 skb->mark = wg->fwmark; in send6()
|
D | netlink.c | 234 nla_put_u32(skb, WGDEVICE_A_FWMARK, wg->fwmark) || in wg_get_device_dump() 528 wg->fwmark = nla_get_u32(info->attrs[WGDEVICE_A_FWMARK]); in wg_set_device()
|
/kernel/linux/linux-5.10/include/net/ |
D | ip_tunnels.h | 142 __u32 fwmark; member 288 struct ip_tunnel_parm *p, __u32 fwmark); 290 struct ip_tunnel_parm *p, __u32 fwmark);
|
D | ip_vs.h | 529 __u32 fwmark; /* Fire wall mark from skb */ member 575 u32 fwmark; /* firwall mark of service */ member 621 __u32 fwmark; /* firewall mark of the service */ member 1245 struct ip_vs_dest *dest, __u32 fwmark); 1415 ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, 1438 __u16 protocol, __u32 fwmark, __u32 flags);
|
D | ip6_tunnel.h | 38 __u32 fwmark; member
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | tproxy.rst | 33 # ip rule add fwmark 1 lookup 100
|
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/ |
D | netns.sh | 363 n1 wg set wg0 fwmark 51820 peer "$pub2" allowed-ips 192.168.99.7,abab::1111 365 ip1 -6 rule add not fwmark 51820 table 51820 368 ip1 -4 rule add not fwmark 51820 table 51820
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | rtnetlink.sh | 187 ip rule add fwmark 1 lookup 100 193 ip rule del fwmark 1 lookup 100
|