Home
last modified time | relevance | path

Searched refs:srcport (Results 1 – 10 of 10) sorted by relevance

/openbsd/regress/sbin/pfctl/
H A Dpf47.in37 pass in on lo0 proto tcp from any port = 28 to any label "$srcport"
38 pass in on lo0 proto tcp from any port 28 >< 29 to any label "$srcport"
40 pass in on lo0 proto tcp from any port 28:29 to any label "$srcport"
41 pass in on lo0 proto tcp from any port != 28 to any label "$srcport"
42 pass in on lo0 proto tcp from any port < 28 to any label "$srcport"
43 pass in on lo0 proto tcp from any port <= 28 to any label "$srcport"
44 pass in on lo0 proto tcp from any port > 28 to any label "$srcport"
45 pass in on lo0 proto tcp from any port >= 28 to any label "$srcport"
46 pass in on lo0 proto tcp from any port = 28 to any label "$srcport$srcport"
47 pass in on lo0 proto tcp from any port = 28 to any label "$$srcport$$srcport$"
[all …]
H A Dpf53.in2 "$nr:$if:$proto:$srcaddr:$srcport:$dstaddr:$dstport"
4 "$nr:$if:$proto:$srcaddr:$srcport:$dstaddr:$dstport"
H A Dpf1.in8 "$nr:$proto:$srcaddr:$srcport:$dstaddr:$dstport"
H A Dpfchksum3.in8 "$nr:$proto:$srcaddr:$srcport:$dstaddr:$dstport"
/openbsd/usr.sbin/ripd/
H A Dpacket.c99 u_int16_t len, srcport; in recv_packet() local
153 srcport = ntohs(src.sin_port); in recv_packet()
176 if ((msg.msg_flags & MSG_MCAST) == 0 && srcport == RIP_PORT) in recv_packet()
183 nbr->port = srcport; in recv_packet()
192 if (srcport != RIP_PORT) in recv_packet()
/openbsd/usr.sbin/traceroute/
H A Dtraceroute.h168 extern u_int16_t srcport;
H A Dtraceroute.c279 u_int16_t srcport; variable
841 srcport = ntohs(from6.sin6_port); in main()
H A Dworker.c635 up->uh_sport == htons(srcport)) { in packet_ok6()
/openbsd/sbin/ifconfig/
H A Difconfig.c3720 srcport = strchr(src, ':'); in settunnel()
3721 if (srcport == NULL || srcport != strrchr(src, ':')) { in settunnel()
3724 srcport = NULL; in settunnel()
3726 len = srcport - src; in settunnel()
3733 srcport++; in settunnel()
3780 const char *srcport; in settunneladdr() local
3793 srcport = strchr(src, ':'); in settunneladdr()
3794 if (srcport == NULL || srcport != strrchr(src, ':')) { in settunneladdr()
3797 srcport = NULL; in settunneladdr()
3799 len = srcport - src; in settunneladdr()
[all …]
/openbsd/sys/net/
H A Dpf_ioctl.c1772 u_int16_t srcport, dstport; in pfioctl() local
1863 srcport = sk->port[1]; in pfioctl()
1869 srcport = sk->port[0]; in pfioctl()
1886 srcport)) && in pfioctl()