1 # 2 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 3 # Use is subject to license terms. 4 # 5 # CDDL HEADER START 6 # 7 # The contents of this file are subject to the terms of the 8 # Common Development and Distribution License (the "License"). 9 # You may not use this file except in compliance with the License. 10 # 11 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 12 # or http://www.opensolaris.org/os/licensing. 13 # See the License for the specific language governing permissions 14 # and limitations under the License. 15 # 16 # When distributing Covered Code, include this CDDL HEADER in each 17 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 18 # If applicable, add the following below this CDDL HEADER, with the 19 # fields enclosed by brackets "[]" replaced with your own identifying 20 # information: Portions Copyright [yyyy] [name of copyright owner] 21 # 22 # CDDL HEADER END 23 # 24 25 fmt_version 1.0 26 mod_version 1.0 27 28 #PERM_CLASS default 29 30 filter name string 31 filter user user 32 filter projid int32 33 filter if_name ifname 34 filter direction enum { LOCAL_IN=0x01, LOCAL_OUT=0x02, FWD_IN=0x04, FWD_OUT=0x08 } 35 filter protocol protocol 36 filter dsfield uint8 37 filter dsfield_mask uint8 38 filter saddr address 39 filter daddr address 40 filter sport port 41 filter dport port 42 filter priority uint32 43 filter precedence uint32 44 filter ip_version enum { V4=0x01, V6=0x02 } 45