encap_type        259 drivers/infiniband/sw/rxe/rxe_net.c 	tnl_cfg.encap_type = 1;
encap_type       5760 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h 	u8	encap_type;
encap_type        621 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	req.encap_type = CFA_ENCAP_RECORD_ALLOC_REQ_ENCAP_TYPE_VXLAN;
encap_type       4053 drivers/net/ethernet/sfc/ef10.c 	enum efx_encap_type encap_type = efx_filter_get_encap_type(spec);
encap_type       4083 drivers/net/ethernet/sfc/ef10.c 	if (encap_type) {
encap_type       4088 drivers/net/ethernet/sfc/ef10.c 			htons(encap_type & EFX_ENCAP_FLAG_IPV6 ?
encap_type       4093 drivers/net/ethernet/sfc/ef10.c 		switch (encap_type & EFX_ENCAP_TYPES_MASK) {
encap_type       4215 drivers/net/ethernet/sfc/ef10.c 	enum efx_encap_type encap_type = efx_filter_get_encap_type(spec);
encap_type       4232 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(REM_HOST, SRC_IP, encap_type);
encap_type       4233 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(LOC_HOST, DST_IP, encap_type);
encap_type       4234 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(REM_MAC, SRC_MAC, encap_type);
encap_type       4235 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(REM_PORT, SRC_PORT, encap_type);
encap_type       4236 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(LOC_MAC, DST_MAC, encap_type);
encap_type       4237 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(LOC_PORT, DST_PORT, encap_type);
encap_type       4238 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(ETHER_TYPE, ETHER_TYPE, encap_type);
encap_type       4239 drivers/net/ethernet/sfc/ef10.c 	MAP_FILTER_TO_MCDI_FLAG(IP_PROTO, IP_PROTO, encap_type);
encap_type       4246 drivers/net/ethernet/sfc/ef10.c 	if (encap_type) {
encap_type       5349 drivers/net/ethernet/sfc/ef10.c 				      enum efx_encap_type encap_type,
encap_type       5368 drivers/net/ethernet/sfc/ef10.c 	if (encap_type) {
encap_type       5371 drivers/net/ethernet/sfc/ef10.c 			efx_filter_set_encap_type(&spec, encap_type);
encap_type       5388 drivers/net/ethernet/sfc/ef10.c 		if ((encap_type & EFX_ENCAP_TYPES_MASK) ==
encap_type       5391 drivers/net/ethernet/sfc/ef10.c 		else if ((encap_type & EFX_ENCAP_TYPES_MASK) ==
encap_type       5394 drivers/net/ethernet/sfc/ef10.c 		else if ((encap_type & EFX_ENCAP_TYPES_MASK) ==
encap_type       5397 drivers/net/ethernet/sfc/ef10.c 		if (encap_type & EFX_ENCAP_FLAG_IPV6)
encap_type       5399 drivers/net/ethernet/sfc/ef10.c 		else if (encap_type)
encap_type       5407 drivers/net/ethernet/sfc/ef10.c 			       rc == -EPERM && (encap_type || !multicast), warn,
encap_type       5427 drivers/net/ethernet/sfc/ef10.c 		if (encap_type >= ARRAY_SIZE(map) || map[encap_type] == 0) {
encap_type       5432 drivers/net/ethernet/sfc/ef10.c 		id = &vlan->default_filters[map[encap_type]];
encap_type       5436 drivers/net/ethernet/sfc/ef10.c 		if (!nic_data->workaround_26807 && !encap_type) {
encap_type       5481 drivers/net/ethernet/sfc/ef10.c 		if (encap_type >= ARRAY_SIZE(map) || map[encap_type] == 0) {
encap_type       5486 drivers/net/ethernet/sfc/ef10.c 		id = &vlan->default_filters[map[encap_type]];
encap_type        170 drivers/net/ethernet/sfc/filter.h 	u32     encap_type:4;
encap_type        296 drivers/net/ethernet/sfc/filter.h 					     enum efx_encap_type encap_type)
encap_type        299 drivers/net/ethernet/sfc/filter.h 	spec->encap_type = encap_type;
encap_type        306 drivers/net/ethernet/sfc/filter.h 		return spec->encap_type;
encap_type        593 drivers/net/geneve.c 	tunnel_cfg.encap_type = 1;
encap_type        298 drivers/net/gtp.c 		udp_sk(sk)->encap_type = 0;
encap_type        340 drivers/net/gtp.c 	switch (udp_sk(sk)->encap_type) {
encap_type        825 drivers/net/gtp.c 	tuncfg.encap_type = type;
encap_type       3261 drivers/net/vxlan.c 	tunnel_cfg.encap_type = 1;
encap_type         46 include/linux/udp.h 	__u8		 encap_type;	/* Is this an Encapsulation socket? */
encap_type        112 include/net/lwtunnel.h int lwtunnel_valid_encap_type(u16 encap_type,
encap_type        116 include/net/lwtunnel.h int lwtunnel_build_state(u16 encap_type,
encap_type        197 include/net/lwtunnel.h static inline int lwtunnel_valid_encap_type(u16 encap_type,
encap_type        212 include/net/lwtunnel.h static inline int lwtunnel_build_state(u16 encap_type,
encap_type        261 include/net/lwtunnel.h #define MODULE_ALIAS_RTNL_LWT(encap_type) MODULE_ALIAS("rtnl-lwt-" __stringify(encap_type))
encap_type         80 include/net/udp_tunnel.h 	__u8  encap_type;
encap_type       1398 include/net/xfrm.h 			     int encap_type);
encap_type       1548 include/net/xfrm.h int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type);
encap_type       1564 include/net/xfrm.h 		    int encap_type);
encap_type        250 include/uapi/linux/xfrm.h 	__u16		encap_type;
encap_type         28 net/core/lwtunnel.c static const char *lwtunnel_encap_str(enum lwtunnel_encap_types encap_type)
encap_type         33 net/core/lwtunnel.c 	switch (encap_type) {
encap_type         83 net/core/lwtunnel.c 			   unsigned int encap_type)
encap_type         87 net/core/lwtunnel.c 	if (encap_type == LWTUNNEL_ENCAP_NONE ||
encap_type         88 net/core/lwtunnel.c 	    encap_type > LWTUNNEL_ENCAP_MAX)
encap_type         92 net/core/lwtunnel.c 		       &lwtun_encaps[encap_type],
encap_type        101 net/core/lwtunnel.c int lwtunnel_build_state(u16 encap_type,
encap_type        110 net/core/lwtunnel.c 	if (encap_type == LWTUNNEL_ENCAP_NONE ||
encap_type        111 net/core/lwtunnel.c 	    encap_type > LWTUNNEL_ENCAP_MAX) {
encap_type        119 net/core/lwtunnel.c 	ops = rcu_dereference(lwtun_encaps[encap_type]);
encap_type        140 net/core/lwtunnel.c int lwtunnel_valid_encap_type(u16 encap_type, struct netlink_ext_ack *extack)
encap_type        145 net/core/lwtunnel.c 	if (encap_type == LWTUNNEL_ENCAP_NONE ||
encap_type        146 net/core/lwtunnel.c 	    encap_type > LWTUNNEL_ENCAP_MAX) {
encap_type        152 net/core/lwtunnel.c 	ops = rcu_dereference(lwtun_encaps[encap_type]);
encap_type        156 net/core/lwtunnel.c 		const char *encap_type_str = lwtunnel_encap_str(encap_type);
encap_type        164 net/core/lwtunnel.c 			ops = rcu_dereference(lwtun_encaps[encap_type]);
encap_type        183 net/core/lwtunnel.c 	u16 encap_type;
encap_type        193 net/core/lwtunnel.c 				encap_type = nla_get_u16(nla_entype);
encap_type        195 net/core/lwtunnel.c 				if (lwtunnel_valid_encap_type(encap_type,
encap_type        230 net/ipv4/esp4.c 	int encap_type;
encap_type        241 net/ipv4/esp4.c 	encap_type = encap->encap_type;
encap_type        254 net/ipv4/esp4.c 	switch (encap_type) {
encap_type        981 net/ipv4/esp4.c 		switch (encap->encap_type) {
encap_type        567 net/ipv4/fib_semantics.c 		       u16 encap_type, void *cfg, gfp_t gfp_flags,
encap_type        580 net/ipv4/fib_semantics.c 		if (encap_type == LWTUNNEL_ENCAP_NONE) {
encap_type        585 net/ipv4/fib_semantics.c 		err = lwtunnel_build_state(encap_type, encap, nhc->nhc_family,
encap_type        810 net/ipv4/fib_semantics.c static int fib_encap_match(u16 encap_type,
encap_type        819 net/ipv4/fib_semantics.c 	if (encap_type == LWTUNNEL_ENCAP_NONE)
encap_type        822 net/ipv4/fib_semantics.c 	ret = lwtunnel_build_state(encap_type, encap, AF_INET,
encap_type        593 net/ipv4/fou.c 	tunnel_cfg.encap_type = 1;
encap_type         48 net/ipv4/ip_vti.c 		     int encap_type, bool update_skb_dev)
encap_type         66 net/ipv4/ip_vti.c 		return xfrm_input(skb, nexthdr, spi, encap_type);
encap_type         76 net/ipv4/ip_vti.c 			   int encap_type)
encap_type         78 net/ipv4/ip_vti.c 	return vti_input(skb, nexthdr, spi, encap_type, false);
encap_type       2010 net/ipv4/udp.c 	if (static_branch_unlikely(&udp_encap_needed_key) && up->encap_type) {
encap_type       2513 net/ipv4/udp.c 		if (up->encap_type) {
encap_type       2564 net/ipv4/udp.c 			up->encap_type = val;
encap_type       2676 net/ipv4/udp.c 		val = up->encap_type;
encap_type         78 net/ipv4/udp_tunnel.c 	udp_sk(sk)->encap_type = cfg->encap_type;
encap_type         96 net/ipv4/xfrm4_input.c 	__u16 encap_type = up->encap_type;
encap_type         99 net/ipv4/xfrm4_input.c 	if (!encap_type)
encap_type        113 net/ipv4/xfrm4_input.c 	switch (encap_type) {
encap_type        166 net/ipv4/xfrm4_input.c 	return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type);
encap_type         62 net/ipv4/xfrm4_protocol.c 		    int encap_type)
encap_type         76 net/ipv4/xfrm4_protocol.c 		if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL)
encap_type        608 net/ipv6/udp.c 	if (static_branch_unlikely(&udpv6_encap_needed_key) && up->encap_type) {
encap_type       1543 net/ipv6/udp.c 		if (up->encap_type) {
encap_type        823 net/key/af_key.c 	if (natt && natt->encap_type) {
encap_type       1002 net/key/af_key.c 	if (natt && natt->encap_type) {
encap_type       1010 net/key/af_key.c 		n_type->sadb_x_nat_t_type_type = natt->encap_type;
encap_type       1276 net/key/af_key.c 		natt->encap_type = n_type->sadb_x_nat_t_type_type;
encap_type       1166 net/l2tp/l2tp_core.c 		(udp_sk(sk))->encap_type = 0;
encap_type       1523 net/l2tp/l2tp_core.c 			.encap_type = UDP_ENCAP_L2TPINUDP,
encap_type        132 net/rxrpc/local_object.c 	udp_sk(usk)->encap_type = UDP_ENCAP_RXRPC;
encap_type        762 net/tipc/udp_media.c 	tuncfg.encap_type = 1;
encap_type        455 net/xfrm/xfrm_input.c int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type)
encap_type        474 net/xfrm/xfrm_input.c 	if (encap_type < 0) {
encap_type        484 net/xfrm/xfrm_input.c 			if (encap_type == -1)
encap_type        492 net/xfrm/xfrm_input.c 		if (encap_type == -1) {
encap_type        499 net/xfrm/xfrm_input.c 		encap_type = 0;
encap_type        606 net/xfrm/xfrm_input.c 		if ((x->encap ? x->encap->encap_type : 0) != encap_type) {
encap_type        657 net/xfrm/xfrm_input.c 		encap_type = 0;
encap_type       1660 net/xfrm/xfrm_state.c 		    x->encap->encap_type == x1->encap->encap_type)