| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | lwtunnel.c | 28 static const char *lwtunnel_encap_str(enum lwtunnel_encap_types encap_type) in lwtunnel_encap_str() argument 33 switch (encap_type) { in lwtunnel_encap_str() 85 unsigned int encap_type) in lwtunnel_encap_del_ops() argument 89 if (encap_type == LWTUNNEL_ENCAP_NONE || in lwtunnel_encap_del_ops() 90 encap_type > LWTUNNEL_ENCAP_MAX) in lwtunnel_encap_del_ops() 94 &lwtun_encaps[encap_type], in lwtunnel_encap_del_ops() 103 int lwtunnel_build_state(struct net *net, u16 encap_type, in lwtunnel_build_state() argument 112 if (encap_type == LWTUNNEL_ENCAP_NONE || in lwtunnel_build_state() 113 encap_type > LWTUNNEL_ENCAP_MAX) { in lwtunnel_build_state() 121 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_build_state() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | xfrm4_input.c | 91 __u16 encap_type = up->encap_type; in xfrm4_udp_encap_rcv() local 94 if (!encap_type) in xfrm4_udp_encap_rcv() 108 switch (encap_type) { in xfrm4_udp_encap_rcv() 161 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm4_udp_encap_rcv()
|
| H A D | esp4.c | 279 x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) in esp_output_done() 345 int encap_type, in esp_output_udp_encap() argument 366 if (encap_type == UDP_ENCAP_ESPINUDP_NON_IKE) { in esp_output_udp_encap() 416 int encap_type; in esp_output_encap() local 421 encap_type = encap->encap_type; in esp_output_encap() 424 switch (encap_type) { in esp_output_encap() 428 esph = esp_output_udp_encap(skb, encap_type, esp, sport, dport); in esp_output_encap() 647 if (!err && x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) in esp_output_tail() 780 switch (x->encap->encap_type) { in esp_input_done2() 1170 switch (encap->encap_type) { in esp_init_state()
|
| H A D | xfrm4_protocol.c | 62 int encap_type) in xfrm4_rcv_encap() argument 84 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) in xfrm4_rcv_encap()
|
| H A D | ip_vti.c | 48 int encap_type, bool update_skb_dev) in vti_input() argument 66 return xfrm_input(skb, nexthdr, spi, encap_type); in vti_input() 76 int encap_type) in vti_input_proto() argument 78 return vti_input(skb, nexthdr, spi, encap_type, false); in vti_input_proto()
|
| H A D | udp_tunnel_core.c | 76 udp_sk(sk)->encap_type = cfg->encap_type; in setup_udp_tunnel_sock()
|
| H A D | fib_semantics.c | 582 struct nlattr *encap, u16 encap_type, in fib_nh_common_init() argument 596 if (encap_type == LWTUNNEL_ENCAP_NONE) { in fib_nh_common_init() 601 err = lwtunnel_build_state(net, encap_type, encap, in fib_nh_common_init() 852 static int fib_encap_match(struct net *net, u16 encap_type, in fib_encap_match() argument 861 if (encap_type == LWTUNNEL_ENCAP_NONE) in fib_encap_match() 864 ret = lwtunnel_build_state(net, encap_type, encap, AF_INET, in fib_encap_match()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | lwtunnel.h | 112 int lwtunnel_valid_encap_type(u16 encap_type, 116 int lwtunnel_build_state(struct net *net, u16 encap_type, 197 static inline int lwtunnel_valid_encap_type(u16 encap_type, in lwtunnel_valid_encap_type() argument 212 static inline int lwtunnel_build_state(struct net *net, u16 encap_type, in lwtunnel_build_state() argument 261 #define MODULE_ALIAS_RTNL_LWT(encap_type) MODULE_ALIAS("rtnl-lwt-" __stringify(encap_type)) argument
|
| H A D | ipv6_stubs.h | 63 int encap_type);
|
| H A D | xfrm.h | 1398 int encap_type); 1409 int encap_type); 1552 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type); 1568 int encap_type); 1592 int encap_type);
|
| H A D | udp_tunnel.h | 80 __u8 encap_type; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | filter.h | 171 u32 encap_type:4; member 297 enum efx_encap_type encap_type) in efx_filter_set_encap_type() argument 300 spec->encap_type = encap_type; in efx_filter_set_encap_type() 307 return spec->encap_type; in efx_filter_get_encap_type()
|
| H A D | mcdi_filters.c | 97 enum efx_encap_type encap_type = efx_filter_get_encap_type(spec); in efx_mcdi_filter_push_prep_set_match_fields() local 129 if (encap_type) { in efx_mcdi_filter_push_prep_set_match_fields() 135 htons(encap_type & EFX_ENCAP_FLAG_IPV6 ? in efx_mcdi_filter_push_prep_set_match_fields() 140 switch (encap_type & EFX_ENCAP_TYPES_MASK) { in efx_mcdi_filter_push_prep_set_match_fields() 267 enum efx_encap_type encap_type = efx_filter_get_encap_type(spec); in efx_mcdi_filter_mcdi_flags_from_spec() local 284 MAP_FILTER_TO_MCDI_FLAG(REM_HOST, SRC_IP, encap_type); in efx_mcdi_filter_mcdi_flags_from_spec() 285 MAP_FILTER_TO_MCDI_FLAG(LOC_HOST, DST_IP, encap_type); in efx_mcdi_filter_mcdi_flags_from_spec() 286 MAP_FILTER_TO_MCDI_FLAG(REM_MAC, SRC_MAC, encap_type); in efx_mcdi_filter_mcdi_flags_from_spec() 287 MAP_FILTER_TO_MCDI_FLAG(REM_PORT, SRC_PORT, encap_type); in efx_mcdi_filter_mcdi_flags_from_spec() 288 MAP_FILTER_TO_MCDI_FLAG(LOC_MAC, DST_MAC, encap_type); in efx_mcdi_filter_mcdi_flags_from_spec() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | xfrm6_input.c | 87 __u16 encap_type = up->encap_type; in xfrm6_udp_encap_rcv() local 90 if (!encap_type) in xfrm6_udp_encap_rcv() 104 switch (encap_type) { in xfrm6_udp_encap_rcv() 156 return xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm6_udp_encap_rcv()
|
| H A D | esp6.c | 314 x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) in esp_output_done() 380 int encap_type, in esp6_output_udp_encap() argument 401 if (encap_type == UDP_ENCAP_ESPINUDP_NON_IKE) { in esp6_output_udp_encap() 451 int encap_type; in esp6_output_encap() local 456 encap_type = encap->encap_type; in esp6_output_encap() 459 switch (encap_type) { in esp6_output_encap() 463 esph = esp6_output_udp_encap(skb, encap_type, esp, sport, dport); in esp6_output_encap() 682 if (!err && x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) in esp6_output_tail() 824 switch (x->encap->encap_type) { in esp6_input_done2() 1221 switch (encap->encap_type) { in esp6_init_state()
|
| H A D | xfrm6_protocol.c | 63 int encap_type) in xfrm6_rcv_encap() argument 97 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) in xfrm6_rcv_encap()
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_input.c | 459 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) in xfrm_input() argument 478 if (encap_type < 0) { in xfrm_input() 488 if (encap_type == -1) in xfrm_input() 496 if (encap_type == -1) { in xfrm_input() 503 encap_type = 0; in xfrm_input() 610 if ((x->encap ? x->encap->encap_type : 0) != encap_type) { in xfrm_input() 661 encap_type = 0; in xfrm_input()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/ |
| H A D | hal_tx.h | 23 enum hal_tcl_encap_type encap_type; member
|
| H A D | hal_tx.c | 53 FIELD_PREP(HAL_TCL_DATA_CMD_INFO0_ENCAP_TYPE, ti->encap_type) | in ath11k_hal_tx_cmd_desc_setup()
|
| H A D | dp_tx.c | 147 ti.encap_type = ath11k_dp_tx_get_encap_type(arvif, skb); in ath11k_dp_tx() 150 if (ti.encap_type == HAL_TCL_ENCAP_TYPE_RAW) { in ath11k_dp_tx() 171 ti.encap_type != HAL_TCL_ENCAP_TYPE_RAW) { in ath11k_dp_tx() 186 switch (ti.encap_type) { in ath11k_dp_tx()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | udp.h | 46 __u8 encap_type; /* Is this an Encapsulation socket? */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | xfrm.h | 250 __u16 encap_type; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | xfrm.h | 250 __u16 encap_type; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | xfrm.h | 250 __u16 encap_type; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | gtp.c | 292 udp_sk(sk)->encap_type = 0; in __gtp_encap_destroy() 334 switch (udp_sk(sk)->encap_type) { in gtp_encap_recv() 818 tuncfg.encap_type = type; in gtp_encap_enable_socket()
|