/linux-master/net/core/ |
H A D | lwtunnel.c | 31 static const char *lwtunnel_encap_str(enum lwtunnel_encap_types encap_type) argument 36 switch (encap_type) { 93 unsigned int encap_type) 97 if (encap_type == LWTUNNEL_ENCAP_NONE || 98 encap_type > LWTUNNEL_ENCAP_MAX) 102 &lwtun_encaps[encap_type], 111 int lwtunnel_build_state(struct net *net, u16 encap_type, argument 120 if (encap_type == LWTUNNEL_ENCAP_NONE || 121 encap_type > LWTUNNEL_ENCAP_MAX) { 129 ops = rcu_dereference(lwtun_encaps[encap_type]); 92 lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *ops, unsigned int encap_type) argument 150 lwtunnel_valid_encap_type(u16 encap_type, struct netlink_ext_ack *extack) argument 193 u16 encap_type; local [all...] |
/linux-master/net/ipv4/ |
H A D | xfrm4_input.c | 85 u16 encap_type; local 87 encap_type = READ_ONCE(up->encap_type); 89 if (!encap_type) 103 switch (encap_type) { 177 udp_sk(sk)->encap_type);
|
H A D | esp4.c | 278 x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 344 int encap_type, 365 if (encap_type == UDP_ENCAP_ESPINUDP_NON_IKE) { 415 int encap_type; local 420 encap_type = encap->encap_type; 423 switch (encap_type) { 427 esph = esp_output_udp_encap(skb, encap_type, esp, sport, dport); 644 if (!err && x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 773 switch (x->encap->encap_type) { 343 esp_output_udp_encap(struct sk_buff *skb, int encap_type, struct esp_info *esp, __be16 sport, __be16 dport) argument [all...] |
H A D | xfrm4_protocol.c | 62 int encap_type) 84 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) 61 xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument
|
H A D | esp4_offload.c | 36 int encap_type = 0; local 75 encap_type = UDP_ENCAP_ESPINUDP; 84 xfrm_input(skb, IPPROTO_ESP, spi, encap_type);
|
H A D | udp_tunnel_core.c | 73 udp_sk(sk)->encap_type = cfg->encap_type;
|
H A D | ip_vti.c | 48 int encap_type, bool update_skb_dev) 66 return xfrm_input(skb, nexthdr, spi, encap_type); 76 int encap_type) 78 return vti_input(skb, nexthdr, spi, encap_type, false); 47 vti_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type, bool update_skb_dev) argument 75 vti_input_proto(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | filter.h | 142 * @encap_type: Encapsulation type to match (from &enum efx_encap_type), if 170 u32 encap_type:4; member in struct:efx_filter_spec 296 enum efx_encap_type encap_type) 299 spec->encap_type = encap_type; 306 return spec->encap_type; 295 efx_filter_set_encap_type(struct efx_filter_spec *spec, enum efx_encap_type encap_type) argument
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | filter.h | 141 * @encap_type: Encapsulation type to match (from &enum efx_encap_type), if 170 u32 encap_type:4; member in struct:efx_filter_spec 329 enum efx_encap_type encap_type) 332 spec->encap_type = encap_type; 339 return spec->encap_type; 328 efx_filter_set_encap_type(struct efx_filter_spec *spec, enum efx_encap_type encap_type) argument
|
H A D | mcdi_filters.c | 97 enum efx_encap_type encap_type = efx_filter_get_encap_type(spec); local 129 if (encap_type) { 135 htons(encap_type & EFX_ENCAP_FLAG_IPV6 ? 140 switch (encap_type & EFX_ENCAP_TYPES_MASK) { 270 enum efx_encap_type encap_type = efx_filter_get_encap_type(spec); local 287 MAP_FILTER_TO_MCDI_FLAG(REM_HOST, SRC_IP, encap_type); 288 MAP_FILTER_TO_MCDI_FLAG(LOC_HOST, DST_IP, encap_type); 289 MAP_FILTER_TO_MCDI_FLAG(REM_MAC, SRC_MAC, encap_type); 290 MAP_FILTER_TO_MCDI_FLAG(REM_PORT, SRC_PORT, encap_type); 291 MAP_FILTER_TO_MCDI_FLAG(LOC_MAC, DST_MAC, encap_type); 824 efx_mcdi_filter_insert_def(struct efx_nic *efx, struct efx_mcdi_filter_vlan *vlan, enum efx_encap_type encap_type, bool multicast, bool rollback) argument [all...] |
/linux-master/include/net/ |
H A D | lwtunnel.h | 118 int lwtunnel_valid_encap_type(u16 encap_type, 122 int lwtunnel_build_state(struct net *net, u16 encap_type, 203 static inline int lwtunnel_valid_encap_type(u16 encap_type, argument 218 static inline int lwtunnel_build_state(struct net *net, u16 encap_type, argument 267 #define MODULE_ALIAS_RTNL_LWT(encap_type) MODULE_ALIAS("rtnl-lwt-" __stringify(encap_type))
|
H A D | ipv6_stubs.h | 67 int encap_type);
|
H A D | udp_tunnel.h | 83 __u8 encap_type; member in struct:udp_tunnel_sock_cfg
|
/linux-master/net/ipv6/ |
H A D | xfrm6_input.c | 81 u16 encap_type; local 83 encap_type = READ_ONCE(up->encap_type); 85 if (!encap_type) 99 switch (encap_type) { 175 udp_sk(sk)->encap_type);
|
H A D | esp6.c | 314 x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 380 int encap_type, 401 if (encap_type == UDP_ENCAP_ESPINUDP_NON_IKE) { 451 int encap_type; local 456 encap_type = encap->encap_type; 459 switch (encap_type) { 463 esph = esp6_output_udp_encap(skb, encap_type, esp, sport, dport); 682 if (!err && x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 820 switch (x->encap->encap_type) { 379 esp6_output_udp_encap(struct sk_buff *skb, int encap_type, struct esp_info *esp, __be16 sport, __be16 dport) argument [all...] |
H A D | esp6_offload.c | 59 int encap_type = 0; local 65 encap_type = UDP_ENCAP_ESPINUDP; 113 xfrm_input(skb, IPPROTO_ESP, spi, encap_type);
|
H A D | xfrm6_protocol.c | 63 int encap_type) 97 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) 62 xfrm6_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | hal_tx.h | 24 enum hal_tcl_encap_type encap_type; member in struct:hal_tx_info
|
H A D | hal_tx.c | 53 FIELD_PREP(HAL_TCL_DATA_CMD_INFO0_ENCAP_TYPE, ti->encap_type) |
|
/linux-master/net/xfrm/ |
H A D | xfrm_input.c | 448 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument 466 if (encap_type < 0 || (xo && xo->flags & XFRM_GRO)) { 476 if (encap_type == -1) 483 /* An encap_type of -1 indicates async resumption. */ 484 if (encap_type == -1) { 596 if ((x->encap ? x->encap->encap_type : 0) != encap_type) { 647 encap_type = 0;
|
H A D | xfrm_interface_core.c | 314 int encap_type, unsigned short family) 332 return xfrm_input(skb, nexthdr, spi, encap_type); 349 static int xfrmi4_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument 351 return xfrmi_input(skb, nexthdr, spi, encap_type, AF_INET); 354 static int xfrmi6_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument 356 return xfrmi_input(skb, nexthdr, spi, encap_type, AF_INET6); 313 xfrmi_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type, unsigned short family) argument
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | hal_tx.h | 26 enum hal_tcl_encap_type encap_type; member in struct:hal_tx_info
|
H A D | dp_tx.c | 121 le32_encode_bits(ti->encap_type, 198 ti.encap_type = ath12k_dp_tx_get_encap_type(arvif, skb); 210 ti.encap_type != HAL_TCL_ENCAP_TYPE_RAW) { 222 switch (ti.encap_type) {
|
/linux-master/include/linux/ |
H A D | udp.h | 57 __u8 encap_type; /* Is this an Encapsulation socket? */ member in struct:udp_sock
|
/linux-master/include/uapi/linux/ |
H A D | xfrm.h | 256 __u16 encap_type; member in struct:xfrm_encap_tmpl
|