Lines Matching refs:dport
199 u_int16_t sport, dport, win, urp; in tcp_print() local
223 dport = EXTRACT_16BITS(&tp->th_dport); in tcp_print()
235 dport == NFS_PORT) { in tcp_print()
254 tcpport_string(dport)); in tcp_print()
257 tcpport_string(sport), tcpport_string(dport)); in tcp_print()
267 tcpport_string(dport)); in tcp_print()
270 tcpport_string(sport), tcpport_string(dport)); in tcp_print()
329 if (sport > dport) in tcp_print()
331 else if (sport == dport) { in tcp_print()
338 tha.port = dport << 16 | sport; in tcp_print()
342 tha.port = sport << 16 | dport; in tcp_print()
347 if (sport > dport) in tcp_print()
349 else if (sport == dport) { in tcp_print()
356 tha.port = dport << 16 | sport; in tcp_print()
360 tha.port = sport << 16 | dport; in tcp_print()
367 if (sport > dport) in tcp_print()
369 else if (sport == dport) { in tcp_print()
376 tha.port = dport << 16 | sport; in tcp_print()
380 tha.port = sport << 16 | dport; in tcp_print()
657 if (sport == TELNET_PORT || dport == TELNET_PORT) { in tcp_print()
660 } else if (sport == BGP_PORT || dport == BGP_PORT) in tcp_print()
662 else if (sport == PPTP_PORT || dport == PPTP_PORT) in tcp_print()
665 else if (sport == NETBIOS_SSN_PORT || dport == NETBIOS_SSN_PORT) in tcp_print()
668 else if (sport == BEEP_PORT || dport == BEEP_PORT) in tcp_print()
671 (sport == NAMESERVER_PORT || dport == NAMESERVER_PORT || in tcp_print()
672 sport == MULTICASTDNS_PORT || dport == MULTICASTDNS_PORT)) { in tcp_print()
678 } else if (sport == MSDP_PORT || dport == MSDP_PORT) { in tcp_print()
681 else if (length > 0 && (sport == LDP_PORT || dport == LDP_PORT)) { in tcp_print()