Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/ipfw/nat64/nat64clat.h
| Show All 36 Lines | struct nat64clat_cfg { | ||||
| struct named_object no; | struct named_object no; | ||||
| struct nat64_config base; | struct nat64_config base; | ||||
| #define NAT64CLAT_FLAGSMASK \ | #define NAT64CLAT_FLAGSMASK \ | ||||
| (NAT64_LOG | NAT64_ALLOW_PRIVATE) /* flags to pass to userland */ | (NAT64_LOG | NAT64_ALLOW_PRIVATE) /* flags to pass to userland */ | ||||
| char name[64]; | char name[64]; | ||||
| }; | }; | ||||
| VNET_DECLARE(uint16_t, nat64clat_eid); | VNET_DECLARE(uint32_t, nat64clat_eid); | ||||
| #define V_nat64clat_eid VNET(nat64clat_eid) | #define V_nat64clat_eid VNET(nat64clat_eid) | ||||
| #define IPFW_TLV_NAT64CLAT_NAME IPFW_TLV_EACTION_NAME(V_nat64clat_eid) | #define IPFW_TLV_NAT64CLAT_NAME IPFW_TLV_EACTION_NAME(V_nat64clat_eid) | ||||
| int ipfw_nat64clat(struct ip_fw_chain *chain, struct ip_fw_args *args, | int ipfw_nat64clat(struct ip_fw_chain *chain, struct ip_fw_args *args, | ||||
| ipfw_insn *cmd, int *done); | ipfw_insn *cmd, int *done); | ||||
| #endif | #endif | ||||