/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ses.c | 447 enum scsi_protocol proto = desc[0] & 0x0f; in ses_process_descriptor() local 456 switch (proto) { in ses_process_descriptor()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_intel.c | 556 init_speed = hu->proto->init_speed; in intel_setup() 561 oper_speed = hu->proto->oper_speed; in intel_setup()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.c | 249 static void efx_gen_tun_header_eth(struct efx_tc_encap_action *encap, u16 proto) in efx_gen_tun_header_eth() argument 262 eth->h_proto = htons(proto); in efx_gen_tun_header_eth()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 1429 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid); 1430 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_type.h | 501 /* wx_dec_ptype.proto: payload proto */ 525 u32 prot:4; /* payload proto */ 530 #define WX_PTT(mac, ip, etype, eip, proto, layer)\ 536 WX_DEC_PTYPE_PROT_##proto, /* proto */\
|
/kernel/linux/linux-6.6/net/nfc/ |
H A D | llcp_sock.c | 53 static struct proto llcp_sock_proto = { 1053 .proto = &llcp_sock_proto,
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb_max.sh | 257 -t ip proto=2,p=$(igmpv3_is_in_get $GRP $IPs) -q 278 -t ip proto=2,p=$(igmpv2_leave_get $GRP) -q
|
H A D | vxlan_bridge_1d_ipv6.sh | 469 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 472 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
|
H A D | vxlan_bridge_1q_ipv6.sh | 589 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 592 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_sockopt.c | 223 const char * const port, int proto) in sock_connect_mptcp() 236 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp() 222 sock_connect_mptcp(const char * const remoteaddr, const char * const port, int proto) sock_connect_mptcp() argument
|
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_switchdev.c | 530 if (mp->addr.proto == htons(ETH_P_IP)) in br_switchdev_mdb_populate() 533 else if (mp->addr.proto == htons(ETH_P_IPV6)) in br_switchdev_mdb_populate()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_expect.c | 316 u_int8_t proto, const __be16 *src, const __be16 *dst) in nf_ct_expect_init() 330 exp->tuple.dst.protonum = proto; in nf_ct_expect_init() 640 seq_printf(s, "l3proto = %u proto=%u ", in exp_seq_show() 312 nf_ct_expect_init(struct nf_conntrack_expect *exp, unsigned int class, u_int8_t family, const union nf_inet_addr *saddr, const union nf_inet_addr *daddr, u_int8_t proto, const __be16 *src, const __be16 *dst) nf_ct_expect_init() argument
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | rpcb_clnt.c | 369 int proto, u32 version, in rpcb_create() 375 .protocol = proto, in rpcb_create() 366 rpcb_create(struct net *net, const char *nodename, const char *hostname, struct sockaddr *srvaddr, size_t salen, int proto, u32 version, const struct cred *cred, const struct rpc_timeout *timeo) rpcb_create() argument
|
/third_party/libcoap/src/ |
H A D | coap_ws.c | 825 if (session->proto == COAP_PROTO_WS && in coap_ws_establish() 828 } else if (session->proto == COAP_PROTO_WSS && in coap_ws_establish()
|
/third_party/python/Lib/test/ |
H A D | test_memoryview.py | 544 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 546 pickle.dumps(m, proto)
|
H A D | test_generators.py | 161 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 163 pickle.dumps(g, proto)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1162 u16 proto, ver; in hwcsum() local 1170 proto = (ver == 4) ? inner_ip_hdr(skb)->protocol : in hwcsum() 1174 proto = (ver == 4) ? ip_hdr(skb)->protocol : in hwcsum() 1179 if (proto == IPPROTO_TCP) in hwcsum() 1181 else if (proto == IPPROTO_UDP) in hwcsum() 1194 if (proto == IPPROTO_TCP) in hwcsum() 1196 else if (proto == IPPROTO_UDP) in hwcsum() 2202 u8 ver, proto; in write_eo_wr() local 2205 proto = (ver == 6) ? ipv6_hdr(skb)->nexthdr : ip_hdr(skb)->protocol; in write_eo_wr() 2228 if (proto in write_eo_wr() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1162 u16 proto, ver; in hwcsum() local 1170 proto = (ver == 4) ? inner_ip_hdr(skb)->protocol : in hwcsum() 1174 proto = (ver == 4) ? ip_hdr(skb)->protocol : in hwcsum() 1179 if (proto == IPPROTO_TCP) in hwcsum() 1181 else if (proto == IPPROTO_UDP) in hwcsum() 1194 if (proto == IPPROTO_TCP) in hwcsum() 1196 else if (proto == IPPROTO_UDP) in hwcsum() 2208 u8 ver, proto; in write_eo_wr() local 2211 proto = (ver == 6) ? ipv6_hdr(skb)->nexthdr : ip_hdr(skb)->protocol; in write_eo_wr() 2234 if (proto in write_eo_wr() [all...] |
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 4693 time_getstate(PyDateTime_Time *self, int proto) in time_getstate() argument 4701 if (proto > 3 && TIME_GET_FOLD(self)) in time_getstate() 4716 int proto; in time_reduce_ex() local 4717 if (!PyArg_ParseTuple(args, "i:__reduce_ex__", &proto)) in time_reduce_ex() 4720 return Py_BuildValue("(ON)", Py_TYPE(self), time_getstate(self, proto)); in time_reduce_ex() 4761 PyDoc_STR("__reduce_ex__(proto) -> (cls, state)")}, 6486 datetime_getstate(PyDateTime_DateTime *self, int proto) in datetime_getstate() argument 6494 if (proto > 3 && DATE_GET_FOLD(self)) in datetime_getstate() 6509 int proto; in datetime_reduce_ex() local 6510 if (!PyArg_ParseTuple(args, "i:__reduce_ex__", &proto)) in datetime_reduce_ex() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 2857 u8 proto = 0; in bnad_txq_wi_prepare() local 2860 proto = ip_hdr(skb)->protocol; in bnad_txq_wi_prepare() 2864 proto = ipv6_hdr(skb)->nexthdr; in bnad_txq_wi_prepare() 2867 if (proto == IPPROTO_TCP) { in bnad_txq_wi_prepare() 2881 } else if (proto == IPPROTO_UDP) { in bnad_txq_wi_prepare() 3308 bnad_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in bnad_vlan_rx_add_vid() argument 3329 bnad_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in bnad_vlan_rx_kill_vid() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 2854 u8 proto = 0; in bnad_txq_wi_prepare() local 2857 proto = ip_hdr(skb)->protocol; in bnad_txq_wi_prepare() 2861 proto = ipv6_hdr(skb)->nexthdr; in bnad_txq_wi_prepare() 2864 if (proto == IPPROTO_TCP) { in bnad_txq_wi_prepare() 2877 } else if (proto == IPPROTO_UDP) { in bnad_txq_wi_prepare() 3304 bnad_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in bnad_vlan_rx_add_vid() argument 3325 bnad_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in bnad_vlan_rx_kill_vid() argument
|
/third_party/nghttp2/integration-tests/ |
H A D | nghttpx_http2_test.go | 39 // x-forwarded-proto header field. 42 args: []string{"--no-strip-incoming-x-forwarded-proto"}, 56 pair("x-forwarded-proto", "foo"), 68 // existing x-forwarded-proto header field. 72 "--no-add-x-forwarded-proto", 73 "--no-strip-incoming-x-forwarded-proto", 88 pair("x-forwarded-proto", "foo"), 100 // x-forwarded-proto header field. 116 pair("x-forwarded-proto", "foo"), 128 // x-forwarded-proto heade [all...] |
/device/soc/rockchip/common/sdk_linux/net/bluetooth/ |
H A D | l2cap_sock.c | 44 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern); 1857 static struct proto l2cap_proto = {.name = "L2CAP", .owner = THIS_MODULE, .obj_size = sizeof(struct l2cap_pinfo)}; 1859 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument 1877 sk->sk_protocol = proto; in l2cap_sock_alloc()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | hci_qca.c | 1377 else if (hu->proto->init_speed) in qca_get_speed() 1378 speed = hu->proto->init_speed; in qca_get_speed() 1382 else if (hu->proto->oper_speed) in qca_get_speed() 1383 speed = hu->proto->oper_speed; in qca_get_speed()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_main.c | 76 __be16 proto, u16 vid); 78 __be16 proto, u16 vid); 2147 ixgb_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in ixgb_vlan_rx_add_vid() argument 2164 ixgb_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in ixgb_vlan_rx_kill_vid() argument
|