/openbmc/linux/include/uapi/linux/ |
H A D | if_arcnet.h | 60 __u8 proto; /* protocol ID field - varies */ member 71 __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ member 81 __u8 proto; /* Always ARC_P_ETHER */ member 88 __u8 proto; member
|
/openbmc/linux/net/netfilter/ |
H A D | nf_flow_table_inet.c | 16 __be16 proto; in nf_flow_offload_inet_hook() local 24 proto = veth->h_vlan_encapsulated_proto; in nf_flow_offload_inet_hook() 27 if (!nf_flow_pppoe_proto(skb, &proto)) in nf_flow_offload_inet_hook() 31 proto = skb->protocol; in nf_flow_offload_inet_hook() 35 switch (proto) { in nf_flow_offload_inet_hook()
|
H A D | nft_compat.c | 146 union nft_entry *entry, u16 proto, bool inv) in nft_target_set_tgchk_param() argument 152 entry->e4.ip.proto = proto; in nft_target_set_tgchk_param() 156 if (proto) in nft_target_set_tgchk_param() 159 entry->e6.ipv6.proto = proto; in nft_target_set_tgchk_param() 163 entry->ebt.ethproto = (__force __be16)proto; in nft_target_set_tgchk_param() 200 static int nft_parse_compat(const struct nlattr *attr, u16 *proto, bool *inv) in nft_parse_compat() argument 226 *proto = l4proto; in nft_parse_compat() 250 u16 proto = 0; in nft_target_init() local 258 ret = nft_parse_compat(ctx->nla[NFTA_RULE_COMPAT], &proto, &inv); in nft_target_init() 263 nft_target_set_tgchk_param(&par, ctx, target, info, &e, proto, inv); in nft_target_init() [all …]
|
H A D | xt_CT.c | 61 return e->ip.proto; in xt_ct_find_proto() 67 return e->ipv6.proto; in xt_ct_find_proto() 78 u8 proto; in xt_ct_set_helper() local 80 proto = xt_ct_find_proto(par); in xt_ct_set_helper() 81 if (!proto) { in xt_ct_set_helper() 87 proto); in xt_ct_set_helper() 109 u8 proto; in xt_ct_set_timeout() local 111 proto = xt_ct_find_proto(par); in xt_ct_set_timeout() 112 if (!proto) { in xt_ct_set_timeout() 117 l4proto = nf_ct_l4proto_find(proto); in xt_ct_set_timeout()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_netportnet.c | 56 u8 proto; member 69 ip1->proto == ip2->proto; in hash_netportnet4_data_equal() 121 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) || in hash_netportnet4_data_list() 166 &e.port, &e.proto)) in hash_netportnet4_kadt() 237 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netportnet4_uadt() 238 with_ports = ip_set_proto_with_ports(e.proto); in hash_netportnet4_uadt() 240 if (e.proto == 0) in hash_netportnet4_uadt() 246 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_netportnet4_uadt() 347 u8 proto; member 361 ip1->proto == ip2->proto; in hash_netportnet6_data_equal() [all …]
|
/openbmc/linux/include/net/ |
H A D | gre.h | 32 int gre_add_protocol(const struct gre_protocol *proto, u8 version); 33 int gre_del_protocol(const struct gre_protocol *proto, u8 version); 38 bool *csum_err, __be16 proto, int nhs); 110 __be16 flags, __be16 proto, in gre_build_header() argument 117 skb_set_inner_protocol(skb, proto); in gre_build_header() 121 greh->protocol = proto; in gre_build_header()
|
H A D | ncsi.h | 34 int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid); 35 int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid); 42 static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_add_vid() argument 47 static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_kill_vid() argument
|
/openbmc/linux/include/linux/ |
H A D | if_bridge.h | 30 __be16 proto; member 77 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 78 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 79 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto); 89 int proto) in br_multicast_has_querier_anywhere() argument 94 int proto) in br_multicast_has_querier_adjacent() argument 100 int proto) in br_multicast_has_router_adjacent() argument
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | checksum.h | 58 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument 66 s += proto + len; in csum_tcpudp_nofold() 68 s += (proto + len) << 8; in csum_tcpudp_nofold() 79 : "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum)); in csum_tcpudp_nofold() 89 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument 91 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 218 __u32 len, __u8 proto, __wsum sum);
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | checksum.h | 56 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument 63 : "g" (daddr), "g" (saddr), "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold() 72 __u32 len, __u8 proto, in csum_tcpudp_magic() argument 75 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | psmouse-base.c | 54 module_param_named(proto, psmouse_max_proto, proto_abbrev, 0644); 55 MODULE_PARM_DESC(proto, "Highest protocol extension to probe (bare, imps, exps, any). Useful for KV… 930 const struct psmouse_protocol *proto; in psmouse_protocol_by_type() local 932 proto = __psmouse_protocol_by_type(type); in psmouse_protocol_by_type() 933 if (proto) in psmouse_protocol_by_type() 934 return proto; in psmouse_protocol_by_type() 1014 const struct psmouse_protocol *proto; in psmouse_try_protocol() local 1016 proto = __psmouse_protocol_by_type(type); in psmouse_try_protocol() 1017 if (!proto) in psmouse_try_protocol() 1020 if (!psmouse_do_detect(proto->detect, psmouse, proto->try_passthru, in psmouse_try_protocol() [all …]
|
H A D | sermouse.c | 241 sermouse->type = serio->id.proto; in sermouse_connect() 284 .proto = SERIO_MSC, 290 .proto = SERIO_SUN, 296 .proto = SERIO_MS, 302 .proto = SERIO_MP, 308 .proto = SERIO_MZ, 314 .proto = SERIO_MZP, 320 .proto = SERIO_MZPP,
|
/openbmc/linux/net/handshake/ |
H A D | request.c | 109 struct handshake_req *handshake_req_alloc(const struct handshake_proto *proto, in handshake_req_alloc() argument 114 if (!proto) in handshake_req_alloc() 116 if (proto->hp_handler_class <= HANDSHAKE_HANDLER_CLASS_NONE) in handshake_req_alloc() 118 if (proto->hp_handler_class >= HANDSHAKE_HANDLER_CLASS_MAX) in handshake_req_alloc() 120 if (!proto->hp_accept || !proto->hp_done) in handshake_req_alloc() 123 req = kzalloc(struct_size(req, hr_priv, proto->hp_privsize), flags); in handshake_req_alloc() 128 req->hr_proto = proto; in handshake_req_alloc()
|
/openbmc/linux/net/dsa/ |
H A D | tag_rtl8_4.c | 156 u8 proto; in rtl8_4_read_tag() local 170 proto = FIELD_GET(RTL8_4_PROTOCOL, ntohs(tag16[1])); in rtl8_4_read_tag() 171 if (unlikely(proto != RTL8_4_PROTOCOL_RTL8365MB)) { in rtl8_4_read_tag() 174 proto); in rtl8_4_read_tag() 232 .proto = DSA_TAG_PROTO_RTL8_4, 245 .proto = DSA_TAG_PROTO_RTL8_4T,
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 223 -A 192.0.2.1 -B 224.0.0.1 -t ip proto=2,p=11 -p 100 -q 231 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=12 -p 100 -q 239 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=16 -p 100 -q 247 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=22 -p 100 -q 255 -A 192.0.2.1 -B 224.0.0.2 -t ip proto=2,p=17 -p 100 -q 399 -A 192.0.2.1 -B 224.0.0.5 -t ip proto=89 -p 100 -q 403 -A 192.0.2.1 -B 192.0.2.2 -t ip proto=89 -p 100 -q 437 -A 192.0.2.1 -B 224.0.0.18 -t ip proto=112 -p 100 -q 451 -A 192.0.2.1 -B 224.0.0.13 -t ip proto=103 -p 100 -q 455 -A 192.0.2.1 -B 192.0.2.2 -t ip proto=103 -p 100 -q [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | osc.py | 66 proto = ud.parm.get('protocol', 'https') 78 …osccmd = "%s %s -A %s://%s co %s/%s %s" % (basecmd, config, proto, ud.host, coroot, ud.module, " "… 80 osccmd = "%s %s -A %s://%s up %s" % (basecmd, config, proto, ud.host, " ".join(options)) 82 …osccmd = "%s %s -A %s://%s api source/%s/%s" % (basecmd, config, proto, ud.host, coroot, ud.module) 152 proto = ud.parm.get('protocol', 'https') 154 f.write("apiurl = %s://%s\n" % (proto, ud.host)) 160 f.write("[%s://%s]\n" % (proto, ud.host))
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | driver.c | 96 const struct scmi_protocol *proto; member 190 const struct scmi_protocol *proto; in scmi_protocol_get() local 192 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_get() 193 if (!proto || !try_module_get(proto->owner)) { in scmi_protocol_get() 200 return proto; in scmi_protocol_get() 205 const struct scmi_protocol *proto; in scmi_protocol_put() local 207 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_put() 208 if (proto) in scmi_protocol_put() 209 module_put(proto->owner); in scmi_protocol_put() 212 int scmi_protocol_register(const struct scmi_protocol *proto) in scmi_protocol_register() argument [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_checksum.c | 10 __u32 len, __u8 proto, __wsum csum) in csum_ipv6_magic() argument 55 uproto = (__force u32)htonl(proto); in csum_ipv6_magic() 65 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto) in udp6_csum_init() argument 72 if (proto == IPPROTO_UDPLITE) { in udp6_csum_init() 78 skb->csum = ip6_compute_pseudo(skb, proto); in udp6_csum_init() 91 err = (__force int)skb_checksum_init_zero_check(skb, proto, uh->check, in udp6_csum_init()
|
/openbmc/linux/net/tipc/ |
H A D | udp_media.c | 74 __be16 proto; member 108 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_is_mcast_addr() 134 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str() 136 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str() 179 if (dst->proto == htons(ETH_P_IP)) { in tipc_udp_xmit() 323 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_rcast_add() 326 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add() 348 src.proto = htons(ETH_P_IP); in tipc_udp_rcast_disc() 356 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc() 414 if (ntohs(remote->proto) == ETH_P_IP) { in enable_mcast() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 30 sam->proto = xs->id.proto; in ixgbevf_ipsec_set_pf_sa() 179 __be32 *daddr, u8 proto, in ixgbevf_ipsec_find_rx_state() argument 192 proto == rsa->xs->id.proto) { in ixgbevf_ipsec_find_rx_state() 274 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbevf_ipsec_add_sa() 309 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 326 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 363 if (xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 506 if (xs->id.proto == IPPROTO_ESP) { in ixgbevf_ipsec_tx() 572 u8 proto; in ixgbevf_ipsec_rx() local 594 proto = IPPROTO_AH; in ixgbevf_ipsec_rx() [all …]
|
/openbmc/linux/drivers/net/ppp/ |
H A D | ppp_deflate.c | 189 int r, proto, off, olen, oavail; in z_compress() local 195 proto = PPP_PROTOCOL(rptr); in z_compress() 196 if (proto > 0x3fff || proto == 0xfd || proto == 0xfb) in z_compress() 220 off = (proto > 0xff) ? 2 : 3; /* skip 1st proto byte if 0 */ in z_compress() 519 int proto, r; in z_incomp() local 524 proto = PPP_PROTOCOL(ibuf); in z_incomp() 525 if (proto > 0x3fff || proto == 0xfd || proto == 0xfb) in z_incomp() 536 if (proto > 0xff) { in z_incomp()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-devtrace.h | 77 #define TRACE_EVENT(name, proto, ...) \ argument 78 static inline void trace_ ## name(proto) {} 82 #define DEFINE_EVENT(evt_class, name, proto, ...) \ argument 83 static inline void trace_ ## name(proto) {}
|
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod-events.h | 39 #define BPF_TESTMOD_DECLARE_TRACE(call, proto, args, size) \ argument 40 DECLARE_TRACE_WRITABLE(call, PARAMS(proto), PARAMS(args), size) 42 #define BPF_TESTMOD_DECLARE_TRACE(call, proto, args, size) \ argument 43 DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
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() 228 efx_filter_set_ipv6_local(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv6_local() argument 235 spec->ip_proto = proto; in efx_filter_set_ipv6_local() 251 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_full() argument 260 spec->ip_proto = proto; in efx_filter_set_ipv4_full()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_assign.c | 61 __u8 proto = 0; in get_tuple() local 77 proto = iph->protocol; in get_tuple() 86 proto = ip6h->nexthdr; in get_tuple() 93 if (proto != IPPROTO_TCP && proto != IPPROTO_UDP) in get_tuple() 96 *tcp = (proto == IPPROTO_TCP); in get_tuple()
|