Home
last modified time | relevance | path

Searched refs:proto (Results 151 – 175 of 1111) sorted by relevance

12345678910>>...45

/openbmc/linux/arch/powerpc/xmon/
H A Dansidecl.h98 #define EXFUN(name, proto) name proto argument
122 #define EXFUN(name, proto) name() argument
/openbmc/linux/arch/ia64/include/asm/
H A Dchecksum.h21 __u32 len, __u8 proto, __wsum sum);
24 __u32 len, __u8 proto, __wsum sum);
61 __u32 len, __u8 proto, __wsum csum);
/openbmc/qemu/hw/net/
H A Dnet_rx_pkt.c209 *l4hdr_proto = pkt->l4hdr_info.proto; in net_rx_pkt_get_protocols()
321 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP); in net_rx_pkt_calc_rss_hash()
328 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP); in net_rx_pkt_calc_rss_hash()
345 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP); in net_rx_pkt_calc_rss_hash()
352 assert(pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_UDP); in net_rx_pkt_calc_rss_hash()
398 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP) { in net_rx_pkt_is_tcp_ack()
409 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_TCP) { in net_rx_pkt_has_tcp_data()
500 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_UDP) { in _net_rx_pkt_calc_l4_csum()
513 if (pkt->l4hdr_info.proto == ETH_L4_HDR_PROTO_UDP) { in _net_rx_pkt_calc_l4_csum()
588 switch (pkt->l4hdr_info.proto) { in net_rx_pkt_validate_l4_csum()
[all …]
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c49 static struct proto pptp_sk_proto __read_mostly;
61 opt = &sock->proto.pptp; in lookup_chan()
84 opt = &sock->proto.pptp; in lookup_chan_dst()
112 sock->proto.pptp.src_addr = *sa; in add_chan()
141 po->proto.pptp.dst_addr.sin_addr.s_addr, in pptp_route_output()
142 po->proto.pptp.src_addr.sin_addr.s_addr, in pptp_route_output()
154 struct pptp_opt *opt = &po->proto.pptp; in pptp_xmit()
272 struct pptp_opt *opt = &po->proto.pptp; in pptp_rcv_core()
420 struct pptp_opt *opt = &po->proto.pptp; in pptp_connect()
565 opt = &po->proto.pptp; in pptp_create()
[all …]
/openbmc/linux/net/ipv4/
H A Dudp_bpf.c11 static struct proto *udpv6_prot_saved __read_mostly;
112 static struct proto udp_bpf_prots[UDP_BPF_NUM_PROTS];
114 static void udp_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in udp_bpf_rebuild_protos()
122 static void udp_bpf_check_v6_needs_rebuild(struct proto *ops) in udp_bpf_check_v6_needs_rebuild()
/openbmc/linux/include/linux/dsa/
H A Docelot.h181 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_OCELOT_8021Q); in ocelot_8021q_tagger_data()
299 u16 proto, tci; in ocelot_xmit_get_vlan_info() local
308 br_vlan_get_proto(br, &proto); in ocelot_xmit_get_vlan_info()
310 if (ntohs(hdr->h_vlan_proto) == proto) { in ocelot_xmit_get_vlan_info()
320 *tag_type = (proto != ETH_P_8021Q) ? IFH_TAG_TYPE_S : IFH_TAG_TYPE_C; in ocelot_xmit_get_vlan_info()
/openbmc/linux/net/vmw_vsock/
H A Dvsock_bpf.c21 static struct proto *vsock_prot_saved __read_mostly;
23 static struct proto vsock_bpf_prot;
117 static void vsock_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in vsock_bpf_rebuild_protos()
125 static void vsock_bpf_check_needs_rebuild(struct proto *ops) in vsock_bpf_check_needs_rebuild()
/openbmc/linux/arch/alpha/include/asm/
H A Dchecksum.h18 __u32 len, __u8 proto, __wsum sum);
21 __u32 len, __u8 proto, __wsum sum);
73 __u32 len, __u8 proto, __wsum sum);
/openbmc/linux/net/netfilter/
H A Dnf_nat_bpf.c38 u16 proto = nf_ct_l3num(ct); in bpf_ct_set_nat_info() local
41 if (proto != NFPROTO_IPV4 && proto != NFPROTO_IPV6) in bpf_ct_set_nat_info()
/openbmc/linux/drivers/net/arcnet/
H A Drfc1201.c109 switch (soft->proto) { in type_trans()
207 if (soft->proto == ARC_P_ARP) { in rx()
388 soft->proto = ARC_P_IP; in build_header()
391 soft->proto = ARC_P_IPV6; in build_header()
394 soft->proto = ARC_P_ARP; in build_header()
397 soft->proto = ARC_P_RARP; in build_header()
402 soft->proto = ARC_P_IPX; in build_header()
405 soft->proto = ARC_P_ATALK; in build_header()
456 excsoft.proto = soft->proto; in load_pkt()
531 newsoft->proto = soft->proto; in continue_tx()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c72 if (fltr->ip_mask.proto && fltr->ip_mask.proto != U8_MAX) in iavf_validate_fdir_fltr_masks()
325 if (fltr->ip_mask.proto == U8_MAX) { in iavf_fill_fdir_ip4_hdr()
365 if (fltr->ip_mask.proto == U8_MAX) { in iavf_fill_fdir_ip6_hdr()
366 iph->nexthdr = fltr->ip_data.proto; in iavf_fill_fdir_ip6_hdr()
715 if (!proto) in iavf_print_fdir_fltr()
726 proto, in iavf_print_fdir_fltr()
736 proto, in iavf_print_fdir_fltr()
744 fltr->ip_data.proto, in iavf_print_fdir_fltr()
754 proto, in iavf_print_fdir_fltr()
764 proto, in iavf_print_fdir_fltr()
[all …]
/openbmc/linux/include/net/
H A Desp.h15 static inline void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto) in esp_output_fill_trailer() argument
28 tail[plen - 1] = proto; in esp_output_fill_trailer()
40 __u8 proto; member
H A Dl3mdev.h38 struct sk_buff *skb, u16 proto);
41 u16 proto);
165 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv() argument
176 skb = master->l3mdev_ops->l3mdev_l3_rcv(master, skb, proto); in l3mdev_l3_rcv()
194 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out() argument
204 skb, proto); in l3mdev_l3_out()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_pkt_access.c109 __u8 proto = 255; in test_pkt_access() local
121 proto = iph->protocol; in test_pkt_access()
129 proto = ip6h->nexthdr; in test_pkt_access()
142 if (((void *)(tcp) + 20) > data_end || proto != 6) in test_pkt_access()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dport_range_occ.sh73 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
79 tc filter add dev $swp1 ingress pref 1 handle 102 proto ip \
82 tc filter add dev $swp1 ingress pref 2 handle 103 proto ipv6 \
85 tc filter add dev $swp1 ingress pref 2 handle 104 proto ipv6 \
/openbmc/linux/net/ceph/
H A Dauth.c24 static int init_protocol(struct ceph_auth_client *ac, int proto) in init_protocol() argument
26 dout("%s proto %d\n", __func__, proto); in init_protocol()
28 switch (proto) { in init_protocol()
34 pr_err("bad auth protocol %d\n", proto); in init_protocol()
311 int *proto, int *pref_mode, int *fallb_mode) in __ceph_auth_get_authorizer() argument
329 *proto = ac->protocol; in __ceph_auth_get_authorizer()
437 ret = init_protocol(ac, proto); in ceph_auth_get_request()
440 ceph_auth_proto_name(proto), ret); in ceph_auth_get_request()
444 WARN_ON(ac->protocol != proto); in ceph_auth_get_request()
553 int proto; in ceph_auth_get_authorizer() local
[all …]
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c618 proto = ENA_ADMIN_RSS_TCP4; in ena_get_rss_hash()
621 proto = ENA_ADMIN_RSS_UDP4; in ena_get_rss_hash()
624 proto = ENA_ADMIN_RSS_TCP6; in ena_get_rss_hash()
627 proto = ENA_ADMIN_RSS_UDP6; in ena_get_rss_hash()
630 proto = ENA_ADMIN_RSS_IP4; in ena_get_rss_hash()
633 proto = ENA_ADMIN_RSS_IP6; in ena_get_rss_hash()
666 proto = ENA_ADMIN_RSS_TCP4; in ena_set_rss_hash()
669 proto = ENA_ADMIN_RSS_UDP4; in ena_set_rss_hash()
672 proto = ENA_ADMIN_RSS_TCP6; in ena_set_rss_hash()
678 proto = ENA_ADMIN_RSS_IP4; in ena_set_rss_hash()
[all …]
/openbmc/linux/arch/alpha/lib/
H A Dchecksum.c46 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
50 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic()
55 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
60 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dfilter.h181 ef4_filter_set_ipv4_local(struct ef4_filter_spec *spec, u8 proto, in ef4_filter_set_ipv4_local() argument
188 spec->ip_proto = proto; in ef4_filter_set_ipv4_local()
204 ef4_filter_set_ipv4_full(struct ef4_filter_spec *spec, u8 proto, in ef4_filter_set_ipv4_full() argument
213 spec->ip_proto = proto; in ef4_filter_set_ipv4_full()
/openbmc/linux/tools/testing/selftests/net/
H A Dcmsg_sender.c57 unsigned int proto; member
78 .proto = IPPROTO_UDP,
131 opt.sock.proto = IPPROTO_UDP; in cs_parse_args()
133 opt.sock.proto = IPPROTO_ICMP; in cs_parse_args()
441 if (ai->ai_family == AF_INET6 && opt.sock.proto == IPPROTO_ICMP) in main()
442 opt.sock.proto = IPPROTO_ICMPV6; in main()
444 fd = socket(ai->ai_family, opt.sock.type, opt.sock.proto); in main()
451 if (opt.sock.proto == IPPROTO_ICMP) { in main()
454 } else if (opt.sock.proto == IPPROTO_ICMPV6) { in main()
462 sin6->sin6_port = htons(opt.sock.proto); in main()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c250 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init() argument
268 .proto_ctype = proto in encap_init()
287 int proto; in build_input() local
289 proto = IPPROTO_IPIP; in build_input()
291 proto = IPPROTO_IPV6; in build_input()
293 encap_init(&encap, test->hops == ONE_HOP ? 1 : 0, proto); in build_input()
301 proto = IPPROTO_TCP; in build_input()
303 proto = IPPROTO_UDP; in build_input()
311 .protocol = proto, in build_input()
321 .nexthdr = proto, in build_input()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dg94.c158 if (sor->asy.proto == TMDS) { in g94_sor_war_needed()
276 case 0: state->proto = LVDS; state->link = 1; break; in g94_sor_state()
277 case 1: state->proto = TMDS; state->link = 1; break; in g94_sor_state()
278 case 2: state->proto = TMDS; state->link = 2; break; in g94_sor_state()
279 case 5: state->proto = TMDS; state->link = 3; break; in g94_sor_state()
280 case 8: state->proto = DP; state->link = 1; break; in g94_sor_state()
281 case 9: state->proto = DP; state->link = 2; break; in g94_sor_state()
283 state->proto = UNKNOWN; in g94_sor_state()
/openbmc/linux/drivers/net/netdevsim/
H A Dipsec.c49 sap->xs->id.proto, sap->salt, sap->crypt); in nsim_dbg_netdev_ops_read()
142 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_add_sa()
169 if (sa.xs->id.proto & IPPROTO_ESP) in nsim_ipsec_add_sa()
269 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_tx()
270 netdev_err(ns->netdev, "unexpected proto=%d\n", xs->id.proto); in nsim_ipsec_tx()
/openbmc/linux/net/8021q/
H A Dvlan.h39 static inline int vlan_proto_idx(__be16 proto) in vlan_proto_idx() argument
41 switch (proto) { in vlan_proto_idx()
47 WARN(1, "invalid VLAN protocol: 0x%04x\n", ntohs(proto)); in vlan_proto_idx()
124 int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto);
125 void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libgxim/libgxim/
H A D0003-Add-format-string-qualifier-to-fix-potential-securit.patch21 @@ -2073,7 +2073,7 @@ g_xim_protocol10_closure_real_parser_error(GXimProtocol *proto,
25 - g_xim_messages_error(G_XIM_PROTOCOL_GET_IFACE (proto)->message, msg);
26 + g_xim_messages_error(G_XIM_PROTOCOL_GET_IFACE (proto)->message, "%s", msg);

12345678910>>...45