trunk: add 3rd party corenet interfaces for (secmark) packets.
This commit is contained in:
parent
13e4e6e3c4
commit
320ea98330
@ -12,9 +12,8 @@
|
|||||||
## Define type to be a network port type
|
## Define type to be a network port type
|
||||||
## </p>
|
## </p>
|
||||||
## <p>
|
## <p>
|
||||||
## This is a template to support third party modules
|
## This is for supporting third party modules and its
|
||||||
## and its use is not allowed in upstream reference
|
## use is not allowed in upstream reference policy.
|
||||||
## policy.
|
|
||||||
## </p>
|
## </p>
|
||||||
## </desc>
|
## </desc>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
@ -40,9 +39,8 @@ interface(`corenet_port',`
|
|||||||
## Define network type to be a reserved port (lt 1024)
|
## Define network type to be a reserved port (lt 1024)
|
||||||
## </p>
|
## </p>
|
||||||
## <p>
|
## <p>
|
||||||
## This is a template to support third party modules
|
## This is for supporting third party modules and its
|
||||||
## and its use is not allowed in upstream reference
|
## use is not allowed in upstream reference policy.
|
||||||
## policy.
|
|
||||||
## </p>
|
## </p>
|
||||||
## </desc>
|
## </desc>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
@ -68,9 +66,8 @@ interface(`corenet_reserved_port',`
|
|||||||
## Define network type to be a rpc port ( 512 lt PORT lt 1024)
|
## Define network type to be a rpc port ( 512 lt PORT lt 1024)
|
||||||
## </p>
|
## </p>
|
||||||
## <p>
|
## <p>
|
||||||
## This is a template to support third party modules
|
## This is for supporting third party modules and its
|
||||||
## and its use is not allowed in upstream reference
|
## use is not allowed in upstream reference policy.
|
||||||
## policy.
|
|
||||||
## </p>
|
## </p>
|
||||||
## </desc>
|
## </desc>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
@ -87,6 +84,60 @@ interface(`corenet_rpc_port',`
|
|||||||
typeattribute $1 rpc_port_type;
|
typeattribute $1 rpc_port_type;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Define type to be a network client packet type
|
||||||
|
## </summary>
|
||||||
|
## <desc>
|
||||||
|
## <p>
|
||||||
|
## Define type to be a network client packet type
|
||||||
|
## </p>
|
||||||
|
## <p>
|
||||||
|
## This is for supporting third party modules and its
|
||||||
|
## use is not allowed in upstream reference policy.
|
||||||
|
## </p>
|
||||||
|
## </desc>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Type to be used for a network client packet.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`corenet_client_packet',`
|
||||||
|
gen_require(`
|
||||||
|
attribute packet_type, client_packet_type;
|
||||||
|
')
|
||||||
|
|
||||||
|
typeattribute $1 client_packet_type, packet_type;
|
||||||
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Define type to be a network server packet type
|
||||||
|
## </summary>
|
||||||
|
## <desc>
|
||||||
|
## <p>
|
||||||
|
## Define type to be a network server packet type
|
||||||
|
## </p>
|
||||||
|
## <p>
|
||||||
|
## This is for supporting third party modules and its
|
||||||
|
## use is not allowed in upstream reference policy.
|
||||||
|
## </p>
|
||||||
|
## </desc>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Type to be used for a network server packet.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`corenet_server_packet',`
|
||||||
|
gen_require(`
|
||||||
|
attribute packet_type, server_packet_type;
|
||||||
|
')
|
||||||
|
|
||||||
|
typeattribute $1 server_packet_type, packet_type;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Send and receive TCP network traffic on the generic interfaces.
|
## Send and receive TCP network traffic on the generic interfaces.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(corenetwork,1.2.14)
|
policy_module(corenetwork,1.2.15)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user