/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_mr_tcam.c | 23 enum mlxsw_sp_l3proto proto) 25 switch (proto) { 201 switch (key->proto) { 223 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); 254 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); 278 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); 22 mlxsw_sp2_mr_tcam_proto_ruleset(struct mlxsw_sp2_mr_tcam *mr_tcam, enum mlxsw_sp_l3proto proto) argument
|
H A D | spectrum_mr.h | 20 enum mlxsw_sp_l3proto proto; member in struct:mlxsw_sp_mr_route_key 90 enum mlxsw_sp_l3proto proto);
|
/linux-master/include/uapi/linux/ |
H A D | xfrm.h | 29 __u8 proto; member in struct:xfrm_id 60 __u8 proto; member in struct:xfrm_selector 409 __u8 proto; member in struct:xfrm_usersa_id 470 __u8 proto; member in struct:xfrm_usersa_flush 474 __u8 proto; member in struct:xfrm_user_report 492 __u8 proto; member in struct:xfrm_user_migrate
|
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | trace.h | 10 #define TRACE_EVENT(name, proto, ...) \ 11 static inline void trace_ ## name(proto) {}
|
/linux-master/samples/bpf/ |
H A D | tcbpf1_kern.c | 58 __u8 proto = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); local 61 if (proto == IPPROTO_TCP) {
|
/linux-master/net/batman-adv/ |
H A D | distributed-arp-table.h | 37 __be16 proto, 136 struct sk_buff *skb, __be16 proto, 135 batadv_dat_snoop_outgoing_dhcp_ack(struct batadv_priv *bat_priv, struct sk_buff *skb, __be16 proto, unsigned short vid) argument
|
/linux-master/arch/loongarch/lib/ |
H A D | csum.c | 122 __u32 len, __u8 proto, __wsum csum) 131 sum += (u32)proto << 24; 120 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, __u8 proto, __wsum csum) argument
|
/linux-master/arch/alpha/lib/ |
H A D | csum_ipv6_magic.S | 9 * unsigned short proto, 26 extqh $18,1,$4 # e0 : byte swap len & proto while we wait 74 sra $19,32,$19 # e0 : proto complete
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | g94.c | 158 if (sor->asy.proto == TMDS) { 276 case 0: state->proto = LVDS; state->link = 1; break; 277 case 1: state->proto = TMDS; state->link = 1; break; 278 case 2: state->proto = TMDS; state->link = 2; break; 279 case 5: state->proto = TMDS; state->link = 3; break; 280 case 8: state->proto = DP; state->link = 1; break; 281 case 9: state->proto = DP; state->link = 2; break; 283 state->proto = UNKNOWN;
|
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.h | 42 int wx_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid); 43 int wx_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
|
/linux-master/net/hsr/ |
H A D | hsr_netlink.c | 38 u8 proto = HSR_PROTOCOL_HSR; local 91 proto = nla_get_u8(data[IFLA_HSR_PROTOCOL]); 93 if (proto >= HSR_PROTOCOL_MAX) { 101 if (proto == HSR_PROTOCOL_PRP) { 114 if (proto == HSR_PROTOCOL_PRP) { 148 u8 proto = HSR_PROTOCOL_HSR; local 168 proto = HSR_PROTOCOL_PRP; 169 if (nla_put_u8(skb, IFLA_HSR_PROTOCOL, proto))
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 616 enum ena_admin_flow_hash_proto proto; local 624 proto = ENA_ADMIN_RSS_TCP4; 627 proto = ENA_ADMIN_RSS_UDP4; 630 proto = ENA_ADMIN_RSS_TCP6; 633 proto = ENA_ADMIN_RSS_UDP6; 636 proto = ENA_ADMIN_RSS_IP4; 639 proto = ENA_ADMIN_RSS_IP6; 642 proto = ENA_ADMIN_RSS_NOT_IP; 655 rc = ena_com_get_hash_ctrl(ena_dev, proto, &hash_fields); 667 enum ena_admin_flow_hash_proto proto; local [all...] |
/linux-master/net/openvswitch/ |
H A D | flow.c | 402 key->ip.proto = NEXTHDR_NONE; 413 key->ip.proto = NEXTHDR_FRAGMENT; 430 key->ip.proto = nexthdr; 526 __be16 proto; local 528 proto = *(__be16 *) skb->data; 531 if (eth_proto_is_802_3(proto)) 532 return proto; 707 key->ip.proto = nh->protocol; 724 if (key->ip.proto == IPPROTO_TCP) { 734 } else if (key->ip.proto [all...] |
/linux-master/tools/testing/selftests/drivers/net/hw/ |
H A D | csum.py | 26 wait_port_listen(34000, proto="udp") 50 wait_port_listen(34000, proto="udp", host=cfg.remote)
|
/linux-master/net/tipc/ |
H A D | udp_media.c | 68 * @proto: Ethernet protocol in use 74 __be16 proto; member in struct:udp_media_addr 108 if (ntohs(addr->proto) == ETH_P_IP) 134 if (ntohs(ua->proto) == ETH_P_IP) 136 else if (ntohs(ua->proto) == ETH_P_IPV6) 176 if (dst->proto == htons(ETH_P_IP)) { 320 if (ntohs(addr->proto) == ETH_P_IP) 323 else if (ntohs(addr->proto) == ETH_P_IPV6) 345 src.proto = htons(ETH_P_IP); 353 src.proto [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | ipsec.c | 192 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) argument 199 *sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, proto); 538 uint8_t proto; member in struct:xfrm_desc 846 switch (desc->proto) { 899 printk("BUG: unknown proto in desc"); 941 req.info.id.proto = desc->proto; 980 if (info->id.spi != spi || info->id.proto != desc->proto) 1098 struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) 1096 xfrm_policy_add(int xfrm_sock, uint32_t seq, uint32_t spi, struct in_addr src, struct in_addr dst, uint8_t dir, struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) argument 1152 xfrm_prepare(int xfrm_sock, uint32_t *seq, struct in_addr src, struct in_addr dst, struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) argument 1222 xfrm_state_del(int xfrm_sock, uint32_t seq, uint32_t spi, struct in_addr src, struct in_addr dst, uint8_t proto) argument 1256 xfrm_delete(int xfrm_sock, uint32_t *seq, struct in_addr src, struct in_addr dst, struct in_addr tunsrc, struct in_addr tundst, uint8_t proto) argument 1273 xfrm_state_allocspi(int xfrm_sock, uint32_t *seq, uint32_t spi, uint8_t proto) argument 1325 netlink_sock_bind(int *sock, uint32_t *seq, int proto, uint32_t groups) argument 2033 write_desc(int proto, int test_desc_fd, char *a, char *e, char *c, char *ae) argument 2083 write_proto_plan(int fd, int proto) argument [all...] |
H A D | gro.c | 85 static int proto = -1; variable 117 if (proto == PF_INET) 127 if (proto == PF_INET) 207 if (proto == PF_INET6) { 216 } else if (proto == PF_INET) { 252 if (proto == PF_INET6) { 263 } else if (proto == PF_INET) { 415 if (proto == PF_INET) { 818 if (proto == PF_INET) { 822 } else if (proto [all...] |
/linux-master/tools/testing/selftests/net/lib/ |
H A D | csum.c | 169 static uint16_t checksum(void *th, uint16_t proto, size_t len) argument 177 sum += htons(proto); 187 static void *build_packet_ipv4(void *_iph, uint8_t proto, unsigned int len) argument 196 iph->protocol = proto; 207 static void *build_packet_ipv6(void *_ip6h, uint8_t proto, unsigned int len) argument 215 ip6h->nexthdr = proto; 297 uint8_t proto; local 317 proto = IPPROTO_UDP; 320 proto = cfg_proto; 324 off = build_packet_ipv4(buf, proto, tle 656 uint16_t proto = cfg_encap ? IPPROTO_UDP : cfg_proto; local 671 uint16_t proto = cfg_encap ? IPPROTO_UDP : cfg_proto; local [all...] |
/linux-master/net/key/ |
H A D | af_key.c | 132 static struct proto key_proto = { 584 pfkey_proto2satype(uint16_t proto) argument 586 switch (proto) { 603 static uint8_t pfkey_proto_to_xfrm(uint8_t proto) argument 605 return proto == IPSEC_PROTO_ANY ? 0 : proto; 608 static uint8_t pfkey_proto_from_xfrm(uint8_t proto) argument 610 return proto ? proto : IPSEC_PROTO_ANY; 656 uint16_t proto; local 1068 uint16_t proto; local 1317 u8 proto; local 1576 __u8 proto; local 1760 unsigned int proto; local 1831 u8 proto; local 3518 set_ipsecrequest(struct sk_buff *skb, uint8_t proto, uint8_t mode, int level, uint32_t reqid, uint8_t family, const xfrm_address_t *src, const xfrm_address_t *dst) argument [all...] |
/linux-master/arch/x86/math-emu/ |
H A D | Makefile | 29 proto:
|
/linux-master/net/dccp/ |
H A D | Makefile | 4 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
|
/linux-master/net/8021q/ |
H A D | vlan_gvrp.c | 22 .proto.group_address = GARP_GVRP_ADDRESS,
|
/linux-master/arch/hexagon/lib/ |
H A D | checksum.c | 51 __u32 len, __u8 proto, __wsum sum) 55 (__force u64)sum + ((len + proto) << 8)); 59 __u32 len, __u8 proto, __wsum sum) 64 (__force u64)sum + ((len + proto) << 8); 50 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum) argument 58 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum) argument
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rif_mac_profiles.sh | 112 tc filter add dev $rp2 egress proto ip pref 1 handle 101 \ 118 tc filter add dev $h2 ingress proto ip pref 1 handle 101 \ 147 tc filter add dev $rp1 egress proto ip pref 1 handle 101 \ 151 tc filter add dev $h1 ingress proto ip pref 1 handle 101 \
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.h | 78 u8 proto; member in struct:sa_mbx_msg
|