Home
last modified time | relevance | path

Searched refs:p_mode (Results 1 – 2 of 2) sorted by relevance

/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y103 static int p_dir, p_type, p_protocol, p_mode, p_level, p_reqid; variable
308 : MODE { p_mode = $1; }
449 if (p_mode != IPSEC_MODE_TRANSPORT in rule_check()
450 && p_mode != IPSEC_MODE_TUNNEL) { in rule_check()
456 if (p_mode != IPSEC_MODE_TRANSPORT) { in rule_check()
535 p->sadb_x_ipsecrequest_mode = p_mode;
570 p_mode = IPSEC_MODE_ANY; in policy_parse_request_init()
/external/iproute2/devlink/
Ddevlink.c724 enum devlink_eswitch_mode *p_mode) in eswitch_mode_get() argument
727 *p_mode = DEVLINK_ESWITCH_MODE_LEGACY; in eswitch_mode_get()
729 *p_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
738 enum devlink_eswitch_inline_mode *p_mode) in eswitch_inline_mode_get() argument
741 *p_mode = DEVLINK_ESWITCH_INLINE_MODE_NONE; in eswitch_inline_mode_get()
743 *p_mode = DEVLINK_ESWITCH_INLINE_MODE_LINK; in eswitch_inline_mode_get()
745 *p_mode = DEVLINK_ESWITCH_INLINE_MODE_NETWORK; in eswitch_inline_mode_get()
747 *p_mode = DEVLINK_ESWITCH_INLINE_MODE_TRANSPORT; in eswitch_inline_mode_get()
769 static int eswitch_encap_mode_get(const char *typestr, bool *p_mode) in eswitch_encap_mode_get() argument
772 *p_mode = true; in eswitch_encap_mode_get()
[all …]