Lines Matching refs:tcp6
191 static int tcp6flg_match __P((struct tcphdr *tcp6, struct ip6_fw *f));
231 tcp6flg_match(struct tcphdr *tcp6, struct ip6_fw *f)
241 ((tcp6->th_flags & (IPV6_FW_TCPF_RST | IPV6_FW_TCPF_ACK |
245 flg_set = tcp6->th_flags & f->fw_tcpf;
246 flg_clr = tcp6->th_flags & f->fw_tcpnf;
421 struct tcphdr *const tcp6 = (struct tcphdr *) ((caddr_t) ip6+ off);
480 ntohs(tcp6->th_sport));
487 ntohs(tcp6->th_dport));
675 struct tcphdr *tcp6;
694 tcp6 = (struct tcphdr *) ((caddr_t)ip6 + off);
697 !tcp6flg_match(tcp6, f))
699 src_port = ntohs(tcp6->th_sport);
700 dst_port = ntohs(tcp6->th_dport);