/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/files/ |
H A D | obmc-init.sh | 259 proto="${url%"$rest"}" 264 elif test -z "$proto" 267 elif test "$proto" = tftp:// 275 elif test "$proto" = http:// 283 elif test "$proto" = ftp://
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 1560 SW_FLOW_KEY_PUT(match, ip.proto, in ovs_key_from_nlattrs() 1593 SW_FLOW_KEY_PUT(match, ip.proto, in ovs_key_from_nlattrs() 1638 SW_FLOW_KEY_PUT(match, ip.proto, in ovs_key_from_nlattrs() 2184 if (swkey->ip.proto == IPPROTO_TCP) { in __ovs_nla_put_key() 2215 swkey->ip.proto == IPPROTO_ICMP) { in __ovs_nla_put_key() 2972 flow_key->ip.proto != IPPROTO_TCP) in validate_set() 2980 flow_key->ip.proto != IPPROTO_UDP) in validate_set() 3319 __be16 proto; in __ovs_nla_copy_actions() local 3334 proto = nla_get_be16(a); in __ovs_nla_copy_actions() 3336 if (proto == htons(ETH_P_TEB) && in __ovs_nla_copy_actions() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | tcbpf1_kern.c | 58 __u8 proto = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); in bpf_prog1() local 61 if (proto == IPPROTO_TCP) { in bpf_prog1()
|
H A D | test_lwt_bpf.c | 88 uint8_t proto; in rewrite() local 90 ret = bpf_skb_load_bytes(skb, IP_PROTO_OFF, &proto, 1); in rewrite() 96 switch (proto) { in rewrite()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | disp.h | 29 u8 proto; member 38 u16 nvbios_ocfg_match(struct nvkm_bios *, u16 outp, u8 proto, u8 flags,
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | trace.h | 27 #define TRACE_EVENT(name, proto, ...) \ argument 28 static inline void trace_ ## name(proto) {} 32 #define DEFINE_EVENT(evt_class, name, proto, ...) \ argument 33 static inline void trace_ ## name(proto) {}
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_dcb.c | 307 u16 proto; in lan966x_dcb_setrewr() local 315 proto = dcb_getrewr(dev, app); in lan966x_dcb_setrewr() 316 if (proto) { in lan966x_dcb_setrewr() 318 app_itr.protocol = proto; in lan966x_dcb_setrewr()
|
/openbmc/linux/net/bridge/ |
H A D | br_multicast.c | 193 ip.proto = 0; in br_mdb_get() 2267 src_ip.proto = pg->key.addr.proto; in br_multicast_isinc_allow() 2306 src_ip.proto = pg->key.addr.proto; in __grp_src_isexc_incl() 2345 src_ip.proto = pg->key.addr.proto; in __grp_src_isexc_excl() 2417 src_ip.proto = pg->key.addr.proto; in __grp_src_toin_incl() 2465 src_ip.proto = pg->key.addr.proto; in __grp_src_toin_excl() 2546 src_ip.proto = pg->key.addr.proto; in __grp_src_toex_incl() 2591 src_ip.proto = pg->key.addr.proto; in __grp_src_toex_excl() 2666 src_ip.proto = pg->key.addr.proto; in __grp_src_block_incl() 2704 src_ip.proto = pg->key.addr.proto; in __grp_src_block_excl() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | xfrm_policy.sh | 39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu… 53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 … 54 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 … 149 …ip -net $ns xfrm policy add dst $encryptip dir out tmpl src $me dst $remote proto esp mode tunnel … 273 …te src e000:0001::0000 dst ff01::0014:0000:0001 dir in tmpl src :: dst :: proto esp mode tunnel pr… 276 …ip -net ns1 xfrm policy update src e000:0001::0000 dst ff01::01 dir in tmpl src :: dst :: proto es…
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 491 if [ "${tool}" = "nc" ] && [ "${proto}" = "udp6" ] && \ 1040 printf "%s" "${proto}" | tr -d 6 1188 eval flood_\$proto 1216 eval send_\$proto 1218 err "${proto} packet to:" 1242 eval send_\$proto 1244 err "${proto} packet to:" 1261 setup veth send_"${proto}" set || return ${KSELFTEST_SKIP} 1307 proto=${flood_proto} 1410 setup veth send_"${proto}" set || return ${KSELFTEST_SKIP} [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 258 static void sock_test_tcpulp(int sock, int proto, unsigned int line) in sock_test_tcpulp() argument 269 xerror("unexpected ULP '%s' for proto %d at line %u", buf, proto, line); in sock_test_tcpulp() 273 } else if (proto == IPPROTO_MPTCP) { in sock_test_tcpulp() 352 const char * const port, int proto, in sock_connect_mptcp() argument 368 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp() 374 SOCK_TEST_TCPULP(sock, proto); in sock_connect_mptcp() 411 SOCK_TEST_TCPULP(sock, proto); in sock_connect_mptcp() 1305 int parse_proto(const char *proto) in parse_proto() argument 1307 if (!strcasecmp(proto, "MPTCP")) in parse_proto() 1309 if (!strcasecmp(proto, "TCP")) in parse_proto() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.c | 393 attrs->upspec.proto = x->sel.proto; in mlx5e_ipsec_build_accel_xfrm_attrs() 432 if (x->id.proto != IPPROTO_ESP) { in mlx5e_xfrm_validate_state() 483 if (x->sel.proto != IPPROTO_IP && x->sel.proto != IPPROTO_UDP && in mlx5e_xfrm_validate_state() 484 x->sel.proto != IPPROTO_TCP) { in mlx5e_xfrm_validate_state() 1027 if (!x->xfrm_vec[0].reqid && sel->proto == IPPROTO_IP && in mlx5e_xfrm_validate_policy() 1038 if (x->selector.proto != IPPROTO_IP && in mlx5e_xfrm_validate_policy() 1039 x->selector.proto != IPPROTO_UDP && in mlx5e_xfrm_validate_policy() 1040 x->selector.proto != IPPROTO_TCP) { in mlx5e_xfrm_validate_policy() 1087 attrs->upspec.proto = sel->proto; in mlx5e_ipsec_build_accel_pol_attrs()
|
/openbmc/linux/drivers/input/serio/ |
H A D | serio.c | 72 while (ids->type || ids->proto) { in serio_match_port() 74 (ids->proto == SERIO_ANY || ids->proto == serio->id.proto) && in serio_match_port() 352 serio->id.type, serio->id.proto, serio->id.id, serio->id.extra); in modalias_show() 364 return sprintf(buf, "%02x\n", serio->id.proto); in proto_show() 441 static DEVICE_ATTR_RO(proto); 908 SERIO_ADD_UEVENT_VAR("SERIO_PROTO=%02x", serio->id.proto); in serio_uevent() 913 serio->id.type, serio->id.proto, serio->id.id, serio->id.extra); in serio_uevent()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr.h | 20 enum mlxsw_sp_l3proto proto; member 90 enum mlxsw_sp_l3proto proto);
|
/openbmc/linux/net/batman-adv/ |
H A D | distributed-arp-table.h | 37 __be16 proto, 136 struct sk_buff *skb, __be16 proto, in batadv_dat_snoop_outgoing_dhcp_ack() argument
|
H A D | gateway_client.c | 572 __be16 proto; in batadv_gw_dhcp_recipient_get() local 580 proto = ethhdr->h_proto; in batadv_gw_dhcp_recipient_get() 584 if (proto == htons(ETH_P_8021Q)) { in batadv_gw_dhcp_recipient_get() 589 proto = vhdr->h_vlan_encapsulated_proto; in batadv_gw_dhcp_recipient_get() 594 switch (proto) { in batadv_gw_dhcp_recipient_get() 630 switch (proto) { in batadv_gw_dhcp_recipient_get()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_bitmap_port.c | 103 u8 proto; in ip_set_get_ip_port() local 107 ret = ip_set_get_ip4_port(skb, src, port, &proto); in ip_set_get_ip_port() 110 ret = ip_set_get_ip6_port(skb, src, port, &proto); in ip_set_get_ip_port() 117 switch (proto) { in ip_set_get_ip_port()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | sch_red.sh | 184 local proto=$1; shift 187 $MZ $h2 -p $PKTSZ -a own -b $h3_mac -A 192.0.2.2 -B 192.0.2.3 -t $proto -q -c $pkts "$@" 196 local proto=$1; shift 213 send_packets $proto $pkts "$@"
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_dcb.c | 347 u16 proto; in sparx5_dcb_setrewr() local 354 proto = dcb_getrewr(dev, app); in sparx5_dcb_setrewr() 355 if (proto) { in sparx5_dcb_setrewr() 357 app_itr.protocol = proto; in sparx5_dcb_setrewr()
|
/openbmc/linux/drivers/hwtracing/stm/ |
H A D | policy.c | 387 char *devname, *proto, *p; in stp_policy_make() local 416 proto = strrchr(devname, ':'); in stp_policy_make() 417 if (proto) in stp_policy_make() 418 *proto++ = '\0'; in stp_policy_make() 426 err = stm_lookup_protocol(proto, &pdrv, &pdrv_node_type); in stp_policy_make()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ooo.c | 80 enum protocol_type proto; in qed_ooo_alloc() local 87 proto = PROTOCOLID_TCP_ULP; in qed_ooo_alloc() 91 proto = PROTOCOLID_IWARP; in qed_ooo_alloc() 99 max_num_archipelagos = (u16)qed_cxt_get_proto_cid_count(p_hwfn, proto, in qed_ooo_alloc() 102 cid_base = (u16)qed_cxt_get_proto_cid_start(p_hwfn, proto); in qed_ooo_alloc()
|
H A D | qed_roce.c | 170 p_rdma_info->proto); in qed_roce_alloc_cid() 172 p_rdma_info->proto); in qed_roce_alloc_cid() 229 enum protocol_type proto; in qed_roce_sp_create_responder() local 345 proto = p_hwfn->p_rdma_info->proto; in qed_roce_sp_create_responder() 347 qed_cxt_get_proto_cid_start(p_hwfn, proto)); in qed_roce_sp_create_responder() 367 enum protocol_type proto; in qed_roce_sp_create_requester() local 475 proto = p_hwfn->p_rdma_info->proto; in qed_roce_sp_create_requester() 478 qed_cxt_get_proto_cid_start(p_hwfn, proto)); in qed_roce_sp_create_requester() 691 p_hwfn->p_rdma_info->proto); in qed_roce_sp_destroy_qp_responder() 1089 start_cid = qed_cxt_get_proto_cid_start(p_hwfn, p_rdma_info->proto); in qed_roce_free_real_icid()
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | trace.h | 10 #define TRACE_EVENT(name, proto, ...) \ argument 11 static inline void trace_ ## name(proto) {}
|
/openbmc/google-misc/subprojects/nemora-postd/ |
H A D | README.md | 29 DECODE_CMD="protoc --decode=platforms.nemora.proto.EventSeries event_message.proto"
|
/openbmc/linux/include/net/ |
H A D | af_unix.h | 109 extern struct proto unix_dgram_proto; 110 extern struct proto unix_stream_proto;
|