Searched defs:mark (Results 1 - 25 of 30) sorted by relevance

12

/net/ipv4/netfilter/
H A Dnft_chain_route_ipv4.c32 u32 mark; local
44 mark = skb->mark;
56 skb->mark != mark ||
H A Diptable_mangle.c46 u_int32_t mark; local
55 mark = skb->mark;
69 skb->mark != mark ||
/net/ipv6/netfilter/
H A Dnft_chain_route_ipv6.c35 u32 mark, flowlabel; local
41 /* save source/dest address, mark, hoplimit, flowlabel, priority */
44 mark = skb->mark;
54 skb->mark != mark ||
H A Dip6table_mangle.c40 u_int32_t flowlabel, mark; local
51 /* save source/dest address, mark, hoplimit, flowlabel, priority, */
54 mark = skb->mark;
66 skb->mark != mark ||
/net/bridge/netfilter/
H A Debt_mark.c11 /* The mark target can be used in any chain,
28 skb->mark = info->mark;
30 skb->mark |= info->mark;
32 skb->mark &= info->mark;
34 skb->mark ^= info->mark;
57 compat_ulong_t mark; member in struct:compat_ebt_mark_t_info
[all...]
H A Debt_mark_m.c21 return !!(skb->mark & info->mask) ^ info->invert;
22 return ((skb->mark & info->mask) == info->mark) ^ info->invert;
41 compat_ulong_t mark, mask; member in struct:compat_ebt_mark_m_info
50 kern->mark = user->mark;
61 if (put_user(kern->mark, &user->mark) ||
97 MODULE_DESCRIPTION("Ebtables: Packet mark match");
/net/ipv4/
H A Dipcomp.c45 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
78 memcpy(&t->mark, &x->mark, sizeof(t->mark));
103 u32 mark = x->mark.v & x->mark.m; local
105 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4,
H A Dnetfilter.c44 fl4.flowi4_mark = skb->mark;
89 u_int32_t mark; member in struct:ip_rt_info
103 rt_info->mark = skb->mark;
116 skb->mark == rt_info->mark &&
H A Dip_vti.c68 skb->mark = be32_to_cpu(tunnel->parms.i_key);
219 skb->mark = be32_to_cpu(tunnel->parms.o_key);
242 __u32 mark; local
258 mark = be32_to_cpu(tunnel->parms.o_key);
287 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr,
H A Dicmp.c396 u32 mark = IP4_REPLY_MARK(net, skb->mark); local
409 sk->sk_mark = mark;
425 fl4.flowi4_mark = mark;
444 __be32 saddr, u8 tos, u32 mark,
456 fl4->flowi4_mark = mark;
554 u32 mark; local
656 mark = IP4_REPLY_MARK(net, skb_in->mark);
673 sk->sk_mark = mark;
440 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) argument
[all...]
H A Digmp.c788 /* mark EXCLUDE-mode sources */
824 /* mark INCLUDE-mode sources */
874 int mark = 0; local
937 /* mark sources to include, if group & source-specific */
938 mark = ih3->nsrcs != 0;
961 im->gsquery = im->gsquery && mark;
963 im->gsquery = mark;
H A Droute.c505 u8 prot, u32 mark, int flow_flags)
511 mark = sk->sk_mark;
515 flowi4_init_output(fl4, oif, mark, tos,
529 u32 mark = skb->mark; local
531 __build_flow_key(fl4, sk, iph, oif, tos, prot, mark, 0);
682 /* Exception created; mark the cached routes for the nexthop
793 u32 mark = skb->mark; local
797 __build_flow_key(&fl4, sk, iph, oif, tos, prot, mark,
502 __build_flow_key(struct flowi4 *fl4, struct sock *sk, const struct iphdr *iph, int oif, u8 tos, u8 prot, u32 mark, int flow_flags) argument
998 ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif, u32 mark, u8 protocol, int flow_flags) argument
1089 ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark, u8 protocol, int flow_flags) argument
2405 int mark; local
[all...]
/net/ipv6/
H A Dipcomp6.c71 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
104 memcpy(&t->mark, &x->mark, sizeof(t->mark));
127 u32 mark = x->mark.m & x->mark.v; local
131 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr,
H A Dnetfilter.c29 .flowi6_mark = skb->mark,
79 u_int32_t mark; member in struct:ip6_rt_info
92 rt_info->mark = skb->mark;
105 skb->mark != rt_info->mark)
H A Dicmp.c407 u32 mark = IP6_REPLY_MARK(net, skb->mark); local
474 fl6.flowi6_mark = mark;
483 sk->sk_mark = mark;
561 u32 mark = IP6_REPLY_MARK(net, skb->mark); local
580 fl6.flowi6_mark = mark;
586 sk->sk_mark = mark;
H A Dip6_vti.c309 skb->mark = be32_to_cpu(t->parms.i_key);
476 skb->mark = be32_to_cpu(t->parms.o_key);
514 __u32 mark; local
528 mark = be32_to_cpu(t->parms.o_key);
551 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr,
H A Dmcast.c1069 /* mark EXCLUDE-mode sources */
1107 /* mark INCLUDE-mode sources */
1309 int mark = 0; local
1371 /* mark sources to include, if group & source-specific */
1378 mark = 1;
1397 /* gsquery <- gsquery && mark */
1398 if (!mark)
1401 /* gsquery <- mark */
1402 if (mark)
/net/netfilter/ipvs/
H A Dip_vs_wrr.c113 struct ip_vs_wrr_mark *mark; local
116 * Allocate the mark variable for WRR scheduling
118 mark = kmalloc(sizeof(struct ip_vs_wrr_mark), GFP_KERNEL);
119 if (mark == NULL)
122 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list);
123 mark->di = ip_vs_wrr_gcd_weight(svc);
124 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1);
125 mark->cw = mark
134 struct ip_vs_wrr_mark *mark = svc->sched_data; local
146 struct ip_vs_wrr_mark *mark = svc->sched_data; local
169 struct ip_vs_wrr_mark *mark = svc->sched_data; local
[all...]
/net/sched/
H A Dact_skbedit.c47 skb->mark = d->mark;
67 u32 flags = 0, *priority = NULL, *mark = NULL; local
93 mark = nla_data(tb[TCA_SKBEDIT_MARK]);
125 d->mark = *mark;
160 nla_put(skb, TCA_SKBEDIT_MARK, sizeof(d->mark),
161 &d->mark))
H A Dcls_u32.c133 if ((skb->mark & n->mask) != n->val) {
824 struct tc_u32_mark *mark; local
826 mark = nla_data(tb[TCA_U32_MARK]);
827 n->val = mark->val;
828 n->mask = mark->mask;
952 struct tc_u32_mark mark = {.val = n->val, local
960 mark.success += cnt;
963 if (nla_put(skb, TCA_U32_MARK, sizeof(mark), &mark))
/net/netfilter/ipset/
H A Dip_set_hash_ipmark.c9 /* Kernel module implementing an IP set type: the hash:ip,mark type */
33 IP_SET_MODULE_DESC("hash:ip,mark", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX);
34 MODULE_ALIAS("ip_set_hash:ip,mark");
45 __u32 mark; member in struct:hash_ipmark4_elem
56 ip1->mark == ip2->mark;
64 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark)))
95 e.mark = skb->mark;
96 e.mark
173 __u32 mark; member in struct:hash_ipmark6_elem
[all...]
/net/rxrpc/
H A Dar-ack.c487 skb->mark = RXRPC_SKB_MARK_DATA;
801 skb->mark = RXRPC_SKB_MARK_FINAL_ACK;
826 static int rxrpc_post_message(struct rxrpc_call *call, u32 mark, u32 error, argument
834 call->debug_id, call->flags, mark, error, fatal);
843 if (mark != RXRPC_SKB_MARK_NEW_CALL &&
856 skb->mark = mark;
1014 u32 mark; local
1017 mark = RXRPC_SKB_MARK_REMOTE_ABORT;
1019 mark
[all...]
/net/batman-adv/
H A Dsysfs.c464 * batadv_show_isolation_mark - print the current isolation mark/mask
482 * batadv_store_isolation_mark - parse and store the isolation mark/mask entered
497 uint32_t mark, mask; local
516 /* the mark can be entered in any base */
517 if (kstrtou32(buff, 0, &mark) < 0)
522 bat_priv->isolation_mark = mark & bat_priv->isolation_mark_mask;
525 "New skb mark for extended isolation: %#.8x/%#.8x\n",
H A Dtranslation-table.c503 * @mark: the value contained in the skb->mark field of the received packet (if
509 unsigned short vid, int ifindex, uint32_t mark)
655 /* check the mark in the skb: if it's equal to the configured
659 match_mark = (mark & bat_priv->isolation_mark_mask);
1027 * mark the local entry as "roamed" in order to correctly reroute
1032 /* mark the local client as ROAMed */
1714 /* its the last one, mark for roaming. */
1761 * is only one originator left for this client, we mark
508 batadv_tt_local_add(struct net_device *soft_iface, const uint8_t *addr, unsigned short vid, int ifindex, uint32_t mark) argument
/net/openvswitch/
H A Dflow_netlink.c587 uint32_t mark = nla_get_u32(a[OVS_KEY_ATTR_SKB_MARK]); local
589 SW_FLOW_KEY_PUT(match, phy.skb_mark, mark, is_mask);

Completed in 593 milliseconds

12