PERFORCE change 143462 for review

Gleb Kurtsou gk at FreeBSD.org
Sat Jun 14 19:01:52 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=143462

Change 143462 by gk at gk_h1 on 2008/06/14 19:01:12

	remove O_FORWARD_MAC. it is not impemented and not supported by userland. and likely it will never be :)

Affected files ...

.. //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw.h#6 edit
.. //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw2.c#7 edit

Differences ...

==== //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw.h#6 (text+ko) ====

@@ -125,7 +125,6 @@
 	O_DIVERT,		/* arg1=port number		*/
 	O_TEE,			/* arg1=port number		*/
 	O_FORWARD_IP,		/* fwd sockaddr			*/
-	O_FORWARD_MAC,		/* fwd mac			*/
 	O_NAT,                  /* nope                         */
 
 	/*

==== //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw2.c#7 (text+ko) ====

@@ -2549,11 +2549,6 @@
 				match = 1;
 				break;
 
-			case O_FORWARD_MAC:
-				printf("ipfw: opcode %d unimplemented\n",
-				    cmd->opcode);
-				break;
-
 			case O_GID:
 			case O_UID:
 			case O_JAIL:
@@ -3964,7 +3959,6 @@
 			if (cmdlen != F_INSN_SIZE(ipfw_insn_nat))
  				goto bad_size;		
  			goto check_action;
-		case O_FORWARD_MAC: /* XXX not implemented yet */
 		case O_CHECK_STATE:
 		case O_COUNT:
 		case O_ACCEPT:


More information about the p4-projects mailing list