Lines Matching defs:tcp6
191 static int tcp6flg_match __P((struct tcphdr *tcp6, struct ip6_fw *f));
228 tcp6flg_match(struct tcphdr *tcp6, struct ip6_fw *f)
238 ((tcp6->th_flags & (IPV6_FW_TCPF_RST | IPV6_FW_TCPF_ACK |
242 flg_set = tcp6->th_flags & f->fw_tcpf;
243 flg_clr = tcp6->th_flags & f->fw_tcpnf;
414 struct tcphdr *const tcp6 = (struct tcphdr *) ((caddr_t) ip6+ off);
473 ntohs(tcp6->th_sport));
480 ntohs(tcp6->th_dport));
667 struct tcphdr *tcp6;
686 tcp6 = (struct tcphdr *) ((caddr_t)ip6 + off);
689 !tcp6flg_match(tcp6, f))
691 src_port = ntohs(tcp6->th_sport);
692 dst_port = ntohs(tcp6->th_dport);