Searched refs:fwmark (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_ctl.c258 /* the service table hashed by fwmark */
295 * Returns hash value of fwmark for virtual service lookup
297 static __inline__ unsigned ip_vs_svc_fwm_hashkey(__u32 fwmark) argument
299 return fwmark & IP_VS_SVC_TAB_MASK;
304 * or in the ip_vs_svc_fwm_table by fwmark.
317 if (svc->fwmark == 0) {
325 * Hash it by fwmark in ip_vs_svc_fwm_table
327 hash = ip_vs_svc_fwm_hashkey(svc->fwmark);
350 if (svc->fwmark == 0) {
391 * Get service by {fwmark} i
393 __ip_vs_svc_fwm_get(__u32 fwmark) argument
413 ip_vs_service_get(__u32 fwmark, __u16 protocol, __be32 vaddr, __be16 vport) argument
[all...]
H A Dip_vs_core.c295 * Note: persistent fwmark-based services and persistent
297 * fwmark template: <IPPROTO_IP,caddr,0,fwmark,0,daddr,0>
300 if (svc->fwmark)
302 htonl(svc->fwmark), 0);
324 if (svc->fwmark)
327 htonl(svc->fwmark), 0,
402 if (!svc->fwmark && pptr[1] != svc->port) {
459 /* if it is fwmark-based service, the cache_bypass sysctl is up
462 if (sysctl_ip_vs_cache_bypass && svc->fwmark
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Diprule.c35 fprintf(stderr, "SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK ]\n");
125 fprintf(fp, "fwmark %#x ", *(uint32_t*)RTA_DATA(tb[RTA_PROTOINFO]));
192 "tos\0""fwmark\0""realms\0""table\0""lookup\0""dev\0"
255 uint32_t fwmark; local
257 if (get_u32(&fwmark, *argv, 0))
258 invarg(*argv, "fwmark");
259 addattr32(&req.n, sizeof(req), RTA_PROTOINFO, fwmark);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dip_vs.h106 u_int32_t fwmark; /* firwall mark of service */ member in struct:ip_vs_service_user
169 u_int32_t fwmark; /* firwall mark of service */ member in struct:ip_vs_service_entry
209 u_int32_t fwmark; /* firwall mark of service */ member in struct:ip_vs_get_dests
553 struct list_head f_list; /* for fwmark-based service table */
560 __u32 fwmark; /* firewall mark of the service */ member in struct:ip_vs_service
891 ip_vs_service_get(__u32 fwmark, __u16 protocol, __be32 vaddr, __be16 vport);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Diprule.c38 fprintf(stderr, "SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK ]\n");
125 fprintf(fp, "fwmark %#x ", *(__u32*)RTA_DATA(tb[RTA_PROTOINFO]));
242 } else if (strcmp(*argv, "fwmark") == 0) {
243 __u32 fwmark; local
245 if (get_u32(&fwmark, *argv, 0))
246 invarg("fwmark value is invalid\n", *argv);
247 addattr32(&req.n, sizeof(req), RTA_PROTOINFO, fwmark);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/doc/
H A Dip-cref.tex1928 to mark some classes of packets with \verb|fwmark|. Therefore,
1929 \verb|fwmark| is also included in the set of keys checked by rules.
1934 interface, tos, fwmark\} and, if the selector matches the packet,
2046 \item \verb|fwmark MARK|
2048 --- select the \verb|fwmark| value to match.
2893 to \verb|fwmark| a class of packets.
2898 320: from 193.233.7.83 fwmark 1234 lookup main map-to 192.203.80.144

Completed in 161 milliseconds