Home
last modified time | relevance | path

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

/linux-2.6.39/net/netfilter/ipvs/
Dip_vs_sched.c156 if (svc->fwmark) { in ip_vs_scheduler_err()
158 svc->scheduler->name, svc->fwmark, in ip_vs_scheduler_err()
159 svc->fwmark, msg); in ip_vs_scheduler_err()
Dip_vs_ctl.c289 static inline unsigned ip_vs_svc_fwm_hashkey(struct net *net, __u32 fwmark) in ip_vs_svc_fwm_hashkey() argument
291 return (((size_t)net>>8) ^ fwmark) & IP_VS_SVC_TAB_MASK; in ip_vs_svc_fwm_hashkey()
309 if (svc->fwmark == 0) { in ip_vs_svc_hash()
320 hash = ip_vs_svc_fwm_hashkey(svc->net, svc->fwmark); in ip_vs_svc_hash()
343 if (svc->fwmark == 0) { in ip_vs_svc_unhash()
389 __ip_vs_svc_fwm_find(struct net *net, int af, __u32 fwmark) in __ip_vs_svc_fwm_find() argument
395 hash = ip_vs_svc_fwm_hashkey(net, fwmark); in __ip_vs_svc_fwm_find()
398 if (svc->fwmark == fwmark && svc->af == af in __ip_vs_svc_fwm_find()
409 ip_vs_service_get(struct net *net, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_get() argument
420 if (fwmark) { in ip_vs_service_get()
[all …]
Dip_vs_sync.c141 __be32 fwmark; /* Firewall mark from skb */ member
163 __be32 fwmark; /* Firewall mark from skb */ member
598 s->v4.fwmark = htonl(cp->fwmark); in ip_vs_sync_conn()
721 unsigned long timeout, __u32 fwmark, in ip_vs_proc_conn() argument
742 param->vport, protocol, fwmark); in ip_vs_proc_conn()
756 cp = ip_vs_conn_new(param, daddr, dport, flags, dest, fwmark); in ip_vs_proc_conn()
1055 ntohl(s->v4.timeout), ntohl(s->v4.fwmark), in ip_vs_proc_sync_conn()
1062 ntohl(s->v6.timeout), ntohl(s->v6.fwmark), in ip_vs_proc_sync_conn()
Dip_vs_core.c271 const union nf_inet_addr fwmark = { .ip = htonl(svc->fwmark) }; in ip_vs_sched_persist() local
290 if (svc->fwmark) { in ip_vs_sched_persist()
292 vaddr = &fwmark; in ip_vs_sched_persist()
445 if (!svc->fwmark && pptr[1] != svc->port) { in ip_vs_schedule()
532 if (ipvs->sysctl_cache_bypass && svc->fwmark && unicast) { in ip_vs_leave()
Dip_vs_conn.c619 cp->protocol, cp->fwmark); in ip_vs_try_bind_dest()
820 struct ip_vs_dest *dest, __u32 fwmark) in ip_vs_conn_new() argument
847 cp->fwmark = fwmark; in ip_vs_conn_new()
/linux-2.6.39/include/linux/
Dip_vs.h124 __u32 fwmark; /* firwall mark of service */ member
186 __u32 fwmark; /* firwall mark of service */ member
226 __u32 fwmark; /* firwall mark of service */ member
/linux-2.6.39/include/net/
Dip_vs.h491 __u32 fwmark; /* Fire wall mark from skb */ member
580 u32 fwmark; /* firwall mark of service */ member
620 __u32 fwmark; /* firewall mark of the service */ member
1022 struct ip_vs_dest *dest, __u32 fwmark);
1199 ip_vs_service_get(struct net *net, int af, __u32 fwmark, __u16 protocol,
1218 __u16 protocol, __u32 fwmark);
/linux-2.6.39/Documentation/networking/
Dtproxy.txt22 # ip rule add fwmark 1 lookup 100