Lines Matching refs:flow

259 				  __u8 *ip_proto, struct flow_keys *flow)  in flow_parse_ipv4()  argument
269 flow->src = load_word(skb, nh_off + offsetof(struct iphdr, saddr)); in flow_parse_ipv4()
270 flow->dst = load_word(skb, nh_off + offsetof(struct iphdr, daddr)); in flow_parse_ipv4()
293 __u8 *ip_proto, struct flow_keys *flow) in flow_parse_ipv6() argument
297 flow->src = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, saddr)); in flow_parse_ipv6()
298 flow->dst = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, daddr)); in flow_parse_ipv6()
304 struct flow_keys *flow) in flow_dissector() argument
323 nh_off = flow_parse_ipv4(skb, nh_off, &ip_proto, flow); in flow_dissector()
325 nh_off = flow_parse_ipv6(skb, nh_off, &ip_proto, flow); in flow_dissector()
359 nh_off = flow_parse_ipv4(skb, nh_off, &ip_proto, flow); in flow_dissector()
361 nh_off = flow_parse_ipv6(skb, nh_off, &ip_proto, flow); in flow_dissector()
367 nh_off = flow_parse_ipv4(skb, nh_off, &ip_proto, flow); in flow_dissector()
370 nh_off = flow_parse_ipv6(skb, nh_off, &ip_proto, flow); in flow_dissector()
377 flow->ports = load_word(skb, nh_off); in flow_dissector()
378 flow->th_off = nh_off; in flow_dissector()
379 flow->ip_proto = ip_proto; in flow_dissector()
385 const struct flow_keys *flow) in cls_update_proto_map() argument
387 uint8_t proto = flow->ip_proto; in cls_update_proto_map()
445 struct flow_keys flow; in cls_main() local
447 if (!flow_dissector(skb, &flow)) in cls_main()
450 cls_update_proto_map(skb, &flow); in cls_main()
453 return flow.ip_proto; in cls_main()