Lines Matching defs: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));
674 struct tcphdr *tcp6;
693 tcp6 = (struct tcphdr *) ((caddr_t)ip6 + off);
696 !tcp6flg_match(tcp6, f))
698 src_port = ntohs(tcp6->th_sport);
699 dst_port = ntohs(tcp6->th_dport);