Lines Matching defs:tags

249 		.offset = offsetof(struct flow_keys, tags),
2893 static bool bond_handle_vlan(struct slave *slave, struct bond_vlan_tag *tags,
2898 struct bond_vlan_tag *outer_tag = tags;
2900 if (!tags || tags->vlan_proto == BOND_VLAN_PROTO_NONE)
2903 tags++;
2905 /* Go through all the tags backwards and add them to the packet */
2906 while (tags->vlan_proto != BOND_VLAN_PROTO_NONE) {
2907 if (!tags->vlan_id) {
2908 tags++;
2913 ntohs(outer_tag->vlan_proto), tags->vlan_id);
2914 skb = vlan_insert_tag_set_proto(skb, tags->vlan_proto,
2915 tags->vlan_id);
2921 tags++;
2939 __be32 src_ip, struct bond_vlan_tag *tags)
2956 if (bond_handle_vlan(slave, tags, skb)) {
2974 struct bond_vlan_tag *tags;
2979 tags = kcalloc(level + 1, sizeof(*tags), GFP_ATOMIC);
2980 if (!tags)
2982 tags[level].vlan_proto = BOND_VLAN_PROTO_NONE;
2983 return tags;
2987 tags = bond_verify_device_path(upper, end_dev, level + 1);
2988 if (IS_ERR_OR_NULL(tags)) {
2989 if (IS_ERR(tags))
2990 return tags;
2994 tags[level].vlan_proto = vlan_dev_vlan_proto(upper);
2995 tags[level].vlan_id = vlan_dev_vlan_id(upper);
2998 return tags;
3007 struct bond_vlan_tag *tags;
3014 tags = NULL;
3028 0, tags);
3037 tags = bond_verify_device_path(bond->dev, rt->dst.dev, 0);
3040 if (!IS_ERR_OR_NULL(tags))
3053 bond_arp_send(slave, ARPOP_REQUEST, targets[i], addr, tags);
3054 kfree(tags);
3160 const struct in6_addr *saddr, struct bond_vlan_tag *tags)
3177 if (bond_handle_vlan(slave, tags, skb)) {
3186 struct bond_vlan_tag *tags;
3195 tags = NULL;
3212 bond_ns_send(slave, &targets[i], &in6addr_any, tags);
3221 tags = bond_verify_device_path(bond->dev, dst->dev, 0);
3224 if (!IS_ERR_OR_NULL(tags))
3236 bond_ns_send(slave, &targets[i], &saddr, tags);
3238 bond_ns_send(slave, &targets[i], &in6addr_any, tags);
3241 kfree(tags);