Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147784580
D24234.1784362273.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24234.1784362273.diff
View Options
Index: dummynet.c
===================================================================
--- dummynet.c
+++ dummynet.c
@@ -56,7 +56,9 @@
{ "noerror", TOK_NOERROR },
{ "buckets", TOK_BUCKETS },
{ "dst-ip", TOK_DSTIP },
+ { "dst-ip4", TOK_DSTIP },
{ "src-ip", TOK_SRCIP },
+ { "src-ip4", TOK_SRCIP },
{ "dst-port", TOK_DSTPORT },
{ "src-port", TOK_SRCPORT },
{ "proto", TOK_PROTO },
Index: ipfw.8
===================================================================
--- ipfw.8
+++ ipfw.8
@@ -1549,7 +1549,7 @@
.It Cm diverted-output
Matches only packets going from a divert socket back outward to the IP
stack output for delivery.
-.It Cm dst-ip Ar ip-address
+.It Bro Cm dst-ip | dst-ip4 Brc Ar ip-address
Matches IPv4 packets whose destination IP is one of the address(es)
specified as argument.
.It Bro Cm dst-ip6 | dst-ipv6 Brc Ar ip6-address
@@ -1937,10 +1937,10 @@
or
.Cm pipe
number.
-.It Cm src-ip Ar ip-address
+.It Bro Cm src-ip | src-ip4 Brc Ar ip-address
Matches IPv4 packets whose source IP is one of the address(es)
specified as an argument.
-.It Cm src-ip6 Ar ip6-address
+.It Bro Cm src-ip6 | src-ipv6 Brc Ar ip-address
Matches IPv6 packets whose source IP is one of the address(es)
specified as an argument.
.It Cm src-port Ar ports
Index: ipfw2.c
===================================================================
--- ipfw2.c
+++ ipfw2.c
@@ -347,7 +347,9 @@
{ "icmptype", TOK_ICMPTYPES },
{ "icmptypes", TOK_ICMPTYPES },
{ "dst-ip", TOK_DSTIP },
+ { "dst-ip4", TOK_DSTIP },
{ "src-ip", TOK_SRCIP },
+ { "src-ip4", TOK_SRCIP },
{ "dst-port", TOK_DSTPORT },
{ "src-port", TOK_SRCPORT },
{ "proto", TOK_PROTO },
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 18, 8:11 AM (2 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29181262
Default Alt Text
D24234.1784362273.diff (1 KB)
Attached To
Mode
D24234: ipfw(8): Introduce src-ip4/dst-ip4 and src-ipv4/dst-ipv4 specifiers, make src-ip/dst-ip dual-stack
Attached
Detach File
Event Timeline
Log In to Comment