Lines Matching refs:ulp

300 	void *ulp;  in flowtable_lookup_ipv6()  local
319 ulp = NULL; in flowtable_lookup_ipv6()
320 while (ulp == NULL) { in flowtable_lookup_ipv6()
328 ulp = ip6; in flowtable_lookup_ipv6()
331 PULLUP_TO(hlen, ulp, struct tcphdr); in flowtable_lookup_ipv6()
332 dport = TCP(ulp)->th_dport; in flowtable_lookup_ipv6()
333 sport = TCP(ulp)->th_sport; in flowtable_lookup_ipv6()
334 if (TCP(ulp)->th_flags & (TH_RST|TH_FIN)) in flowtable_lookup_ipv6()
338 PULLUP_TO(hlen, ulp, struct sctphdr); in flowtable_lookup_ipv6()
339 dport = SCTP(ulp)->src_port; in flowtable_lookup_ipv6()
340 sport = SCTP(ulp)->dest_port; in flowtable_lookup_ipv6()
344 PULLUP_TO(hlen, ulp, struct udphdr); in flowtable_lookup_ipv6()
345 dport = UDP(ulp)->uh_dport; in flowtable_lookup_ipv6()
346 sport = UDP(ulp)->uh_sport; in flowtable_lookup_ipv6()
349 PULLUP_TO(hlen, ulp, struct ip6_hbh); in flowtable_lookup_ipv6()
350 hlen += (((struct ip6_hbh *)ulp)->ip6h_len + 1) << 3; in flowtable_lookup_ipv6()
351 proto = ((struct ip6_hbh *)ulp)->ip6h_nxt; in flowtable_lookup_ipv6()
352 ulp = NULL; in flowtable_lookup_ipv6()
355 PULLUP_TO(hlen, ulp, struct ip6_rthdr); in flowtable_lookup_ipv6()
356 hlen += (((struct ip6_rthdr *)ulp)->ip6r_len + 1) << 3; in flowtable_lookup_ipv6()
357 proto = ((struct ip6_rthdr *)ulp)->ip6r_nxt; in flowtable_lookup_ipv6()
358 ulp = NULL; in flowtable_lookup_ipv6()
361 PULLUP_TO(hlen, ulp, struct ip6_frag); in flowtable_lookup_ipv6()
363 proto = ((struct ip6_frag *)ulp)->ip6f_nxt; in flowtable_lookup_ipv6()
364 offset = ((struct ip6_frag *)ulp)->ip6f_offlg & in flowtable_lookup_ipv6()
366 ulp = NULL; in flowtable_lookup_ipv6()
369 PULLUP_TO(hlen, ulp, struct ip6_hbh); in flowtable_lookup_ipv6()
370 hlen += (((struct ip6_hbh *)ulp)->ip6h_len + 1) << 3; in flowtable_lookup_ipv6()
371 proto = ((struct ip6_hbh *)ulp)->ip6h_nxt; in flowtable_lookup_ipv6()
372 ulp = NULL; in flowtable_lookup_ipv6()
375 PULLUP_TO(hlen, ulp, struct ip6_ext); in flowtable_lookup_ipv6()
376 hlen += (((struct ip6_ext *)ulp)->ip6e_len + 2) << 2; in flowtable_lookup_ipv6()
377 proto = ((struct ip6_ext *)ulp)->ip6e_nxt; in flowtable_lookup_ipv6()
378 ulp = NULL; in flowtable_lookup_ipv6()
381 PULLUP_TO(hlen, ulp, struct ip6_ext); in flowtable_lookup_ipv6()