/openbmc/linux/net/handshake/ |
H A D | handshake-test.c | 35 struct handshake_proto *proto; member 74 .proto = NULL, 80 .proto = &handshake_req_alloc_proto_2, 86 .proto = &handshake_req_alloc_proto_3, 92 .proto = &handshake_req_alloc_proto_4, 98 .proto = &handshake_req_alloc_proto_5, 104 .proto = &handshake_req_alloc_proto_6, 110 .proto = &handshake_req_alloc_proto_good, 135 result = handshake_req_alloc(param->proto, param->gfp); in handshake_req_alloc_case()
|
H A D | netlink.c | 37 int handshake_genl_notify(struct net *net, const struct handshake_proto *proto, in handshake_genl_notify() argument 44 if (!test_bit(HANDSHAKE_F_PROTO_NOTIFY, &proto->hp_flags)) in handshake_genl_notify() 48 proto->hp_handler_class)) in handshake_genl_notify() 61 proto->hp_handler_class) < 0) { in handshake_genl_notify() 68 0, proto->hp_handler_class, flags); in handshake_genl_notify()
|
/openbmc/linux/include/linux/ |
H A D | ppp_defs.h | 23 static inline bool ppp_proto_is_valid(u16 proto) in ppp_proto_is_valid() argument 25 return !!((proto & 0x0101) == 0x0001); in ppp_proto_is_valid()
|
/openbmc/linux/include/net/ |
H A D | sock.h | 112 struct proto; 195 struct proto *skc_prot; 489 struct proto *sk_prot_creator; 1250 struct proto { struct 1463 static inline void proto_memory_pcpu_drain(struct proto *proto) in proto_memory_pcpu_drain() argument 1474 struct proto *proto = sk->sk_prot; in sk_memory_allocated_add() local 1485 struct proto *proto = sk->sk_prot; in sk_memory_allocated_sub() local 1546 int sock_prot_inuse_get(struct net *net, struct proto *proto); 1901 static inline void sock_replace_proto(struct sock *sk, struct proto *proto) in sock_replace_proto() argument 2954 static inline int sk_get_wmem0(const struct sock *sk, const struct proto *proto) in sk_get_wmem0() argument [all …]
|
H A D | xfrm.h | 124 u8 proto; member 319 u32 proto; member 379 u8 proto; member 417 u8 proto; member 438 u8 proto; member 574 u8 proto; member 1056 __u8 proto; member 1424 switch (proto) { in xfrm_id_proto_valid() 1612 u8 proto, 2149 int proto; in xfrm6_local_dontfrag() local [all …]
|
H A D | stp.h | 14 int stp_proto_register(const struct stp_proto *proto); 15 void stp_proto_unregister(const struct stp_proto *proto);
|
H A D | raw.h | 22 extern struct proto raw_prot; 43 static inline u32 raw_hashfunc(const struct net *net, u32 proto) in raw_hashfunc() argument 45 return hash_32(net_hash_mix(net) ^ proto, RAW_HTABLE_LOG); in raw_hashfunc()
|
/openbmc/linux/net/netfilter/ |
H A D | xt_l2tp.c | 270 if ((ip->proto != IPPROTO_UDP) && in l2tp_mt_check4() 271 (ip->proto != IPPROTO_L2TP)) { in l2tp_mt_check4() 276 if ((ip->proto == IPPROTO_L2TP) && in l2tp_mt_check4() 297 if ((ip->proto != IPPROTO_UDP) && in l2tp_mt_check6() 298 (ip->proto != IPPROTO_L2TP)) { in l2tp_mt_check6() 303 if ((ip->proto == IPPROTO_L2TP) && in l2tp_mt_check6()
|
H A D | nf_conntrack_proto_gre.c | 191 (ct->proto.gre.timeout / HZ), in gre_print_conntrack() 192 (ct->proto.gre.stream_timeout / HZ)); in gre_print_conntrack() 218 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet() 219 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet() 227 ct->proto.gre.stream_timeout); in nf_conntrack_gre_packet() 238 ct->proto.gre.timeout); in nf_conntrack_gre_packet()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | filter.h | 207 efx_filter_set_ipv4_local(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_local() argument 214 spec->ip_proto = proto; in efx_filter_set_ipv4_local() 230 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_full() argument 239 spec->ip_proto = proto; in efx_filter_set_ipv4_full()
|
/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | p80211conv.c | 92 u16 proto; in skb_ether_to_p80211() local 112 proto = ntohs(e_hdr.type); in skb_ether_to_p80211() 113 if (proto <= ETH_DATA_LEN) { in skb_ether_to_p80211() 122 skb_trim(skb, proto); in skb_ether_to_p80211() 132 e_snap->type = htons(proto); in skb_ether_to_p80211() 134 p80211_stt_findproto(proto)) { in skb_ether_to_p80211() 504 int p80211_stt_findproto(u16 proto) in p80211_stt_findproto() argument 513 if (proto == ETH_P_AARP) /* APPLETALK */ in p80211_stt_findproto()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | gro.c | 79 static int proto = -1; variable 110 if (proto == PF_INET) in setup_sock_filter() 117 if (proto == PF_INET) in setup_sock_filter() 181 if (proto == PF_INET6) { in tcp_checksum() 226 if (proto == PF_INET6) { in fill_networklayer() 389 if (proto == PF_INET) { in recompute_packet() 652 if (proto == PF_INET) { in send_changed_tos() 673 if (proto == PF_INET) { in send_changed_ECN() 1044 proto = PF_INET; in parse_args() 1048 proto = PF_INET6; in parse_args() [all …]
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 979 flow_keys->n_proto = proto; in bpf_flow_dissect() 1064 &proto, in __skb_flow_dissect() 1113 __be16 n_proto = proto; in __skb_flow_dissect() 1164 switch (proto) { in __skb_flow_dissect() 1271 proto = skb->protocol; in __skb_flow_dissect() 1328 __be16 proto; in __skb_flow_dissect() member 1355 proto = htons(ETH_P_IP); in __skb_flow_dissect() 1465 proto = hdr->encap_proto; in __skb_flow_dissect() 1570 proto = htons(ETH_P_IP); in __skb_flow_dissect() 1587 proto = htons(ETH_P_IPV6); in __skb_flow_dissect() [all …]
|
H A D | sock.c | 2148 struct proto *prot, int kern) in sk_alloc() 3055 struct proto *prot = sk->sk_prot; in __sk_mem_raise_allocated() 4041 static long sock_prot_memory_allocated(struct proto *proto) in sock_prot_memory_allocated() argument 4043 return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L; in sock_prot_memory_allocated() 4046 static const char *sock_prot_memory_pressure(struct proto *proto) in sock_prot_memory_pressure() argument 4052 static void proto_seq_printf(struct seq_file *seq, struct proto *proto) in proto_seq_printf() argument 4057 proto->name, in proto_seq_printf() 4058 proto->obj_size, in proto_seq_printf() 4061 sock_prot_memory_pressure(proto), in proto_seq_printf() 4062 proto->max_header, in proto_seq_printf() [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/waffle/waffle/ |
H A D | 0001-waffle-do-not-make-core-protocol-into-the-library.patch | 25 - 'wl-core-proto.c', 27 - output: 'wl-core-proto.c', 31 'wl-xdg-shell-proto.c',
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup_kern.c | 27 __u8 proto = 0; in get_tuple() local 35 proto = iph->protocol; in get_tuple() 44 proto = ip6h->nexthdr; in get_tuple() 49 if (data + nh_off + ihl_len > data_end || proto != IPPROTO_TCP) in get_tuple()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | checksum.h | 130 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument 148 tmp = (__s32)(proto + len); in csum_tcpudp_nofold() 185 __u32 len, __u8 proto, in csum_ipv6_magic() argument 244 "0" (htonl(len)), "r" (htonl(proto)), "r" (sum) in csum_ipv6_magic()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 96 mlxsw_sp_ipip_netdev_saddr(enum mlxsw_sp_l3proto proto, in mlxsw_sp_ipip_netdev_saddr() argument 102 switch (proto) { in mlxsw_sp_ipip_netdev_saddr() 124 mlxsw_sp_ipip_netdev_daddr(enum mlxsw_sp_l3proto proto, in mlxsw_sp_ipip_netdev_daddr() argument 130 switch (proto) { in mlxsw_sp_ipip_netdev_daddr() 156 .proto = MLXSW_SP_L3_PROTO_IPV4, in mlxsw_sp_ipip_netdev_parms_init_gre4() 222 static bool mlxsw_sp_ipip_tunnel_complete(enum mlxsw_sp_l3proto proto, in mlxsw_sp_ipip_tunnel_complete() argument 225 union mlxsw_sp_l3addr saddr = mlxsw_sp_ipip_netdev_saddr(proto, ol_dev); in mlxsw_sp_ipip_tunnel_complete() 226 union mlxsw_sp_l3addr daddr = mlxsw_sp_ipip_netdev_daddr(proto, ol_dev); in mlxsw_sp_ipip_tunnel_complete() 289 new_parms->proto, in mlxsw_sp_ipip_ol_netdev_change_gre() 371 .proto = MLXSW_SP_L3_PROTO_IPV6, in mlxsw_sp_ipip_netdev_parms_init_gre6()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow.c | 402 key->ip.proto = NEXTHDR_NONE; in parse_ipv6hdr() 413 key->ip.proto = NEXTHDR_FRAGMENT; in parse_ipv6hdr() 430 key->ip.proto = nexthdr; in parse_ipv6hdr() 526 __be16 proto; in parse_ethertype() local 528 proto = *(__be16 *) skb->data; in parse_ethertype() 531 if (eth_proto_is_802_3(proto)) in parse_ethertype() 532 return proto; in parse_ethertype() 707 key->ip.proto = nh->protocol; in key_extract_l3l4() 724 if (key->ip.proto == IPPROTO_TCP) { in key_extract_l3l4() 780 key->ip.proto = 0; in key_extract_l3l4() [all …]
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_reject.h | 9 __u8 proto) in nf_reject_verify_csum() argument 14 switch (proto) { in nf_reject_verify_csum()
|
/openbmc/linux/net/key/ |
H A D | af_key.c | 605 return proto == IPSEC_PROTO_ANY ? 0 : proto; in pfkey_proto_to_xfrm() 610 return proto ? proto : IPSEC_PROTO_ANY; in pfkey_proto_from_xfrm() 656 uint16_t proto; in pfkey_xfrm_state_lookup() local 665 if (proto == 0) in pfkey_xfrm_state_lookup() 1068 uint16_t proto; in pfkey_msg2xfrm_state() local 1126 x->id.proto = proto; in pfkey_msg2xfrm_state() 1317 u8 proto; in pfkey_getspi() local 1576 __u8 proto; in pfkey_get() local 1591 proto = x->id.proto; in pfkey_get() 1776 c.data.proto = proto; in pfkey_flush() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_tunnel.c | 1085 __u8 proto) in ip6_tnl_xmit() argument 1276 ipv6h->nexthdr = proto; in ip6_tnl_xmit() 1545 t->parms.proto = p->proto; in ip6_tnl_change() 1566 t->parms.proto = p->proto; in ip6_tnl0_update() 1580 p->proto = u->proto; in ip6_tnl_parm_from_user() 1594 u->proto = p->proto; in ip6_tnl_parm_to_user() 1667 if (p.proto != IPPROTO_IPV6 && p.proto != IPPROTO_IPIP && in ip6_tnl_siocdevprivate() 1668 p.proto != 0) in ip6_tnl_siocdevprivate() 1746 if (tnl->parms.proto == IPPROTO_IPV6 || tnl->parms.proto == 0) { in ip6_tnl_change_mtu() 1955 u8 proto; in ip6_tnl_validate() local [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/rpcsvc-proto/ |
H A D | rpcsvc-proto.bb | 6 DESCRIPTION = "This package contains rpcsvc proto.x files from glibc, which are\ 12 HOMEPAGE = "https://github.com/thkukuk/rpcsvc-proto" 16 DEPENDS += "rpcsvc-proto-native"
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 85 u8 proto; in nf_reject_skb_v4_unreach() local 104 proto = ip_hdr(oldskb)->protocol; in nf_reject_skb_v4_unreach() 107 nf_reject_verify_csum(oldskb, dataoff, proto) && in nf_reject_skb_v4_unreach() 108 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nf_reject_skb_v4_unreach() 321 u8 proto = iph->protocol; in nf_send_unreach() local 331 !nf_reject_verify_csum(skb_in, dataoff, proto)) { in nf_send_unreach() 336 if (nf_ip_checksum(skb_in, hook, dataoff, proto) == 0) in nf_send_unreach()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | disp.c | 144 info->proto = nvbios_rd08(bios, data + 0x00); in nvbios_ocfg_parse() 153 nvbios_ocfg_match(struct nvkm_bios *bios, u16 outp, u8 proto, u8 flags, in nvbios_ocfg_match() argument 158 if ((info->proto == proto || info->proto == 0xff) && in nvbios_ocfg_match()
|