Home
last modified time | relevance | path

Searched refs:proto (Results 51 – 75 of 1111) sorted by relevance

12345678910>>...45

/openbmc/linux/tools/testing/selftests/net/
H A Dreuseport_dualstack.c31 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count) in build_rcv_fd() argument
56 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd()
68 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10)) in build_rcv_fd()
73 static void send_from_v4(int proto) in send_from_v4() argument
86 fd = socket(AF_INET, proto, 0); in send_from_v4()
102 static int receive_once(int epfd, int proto) in receive_once() argument
112 if (proto == SOCK_STREAM) { in receive_once()
128 static void test(int *rcv_fds, int count, int proto) in test() argument
146 send_from_v4(proto); in test()
148 test_fd = receive_once(epfd, proto); in test()
H A Dl2tp.sh236 tmpl proto esp mode transport
240 tmpl proto esp mode transport
244 tmpl proto esp mode transport
248 tmpl proto esp mode transport
252 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
257 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
262 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
275 tmpl proto esp mode transport
279 tmpl proto esp mode transport
283 tmpl proto esp mode transport
[all …]
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_getport.c26 bool src, __be16 *port, u8 *proto) in get_port() argument
92 *proto = protocol; in get_port()
99 __be16 *port, u8 *proto) in ip_set_get_ip4_port() argument
122 *proto = protocol; in ip_set_get_ip4_port()
126 return get_port(skb, protocol, protooff, src, port, proto); in ip_set_get_ip4_port()
133 __be16 *port, u8 *proto) in ip_set_get_ip6_port() argument
147 return get_port(skb, nexthdr, protoff, src, port, proto); in ip_set_get_ip6_port()
H A Dip_set_hash_ipport.c48 u8 proto; member
61 ip1->proto == ip2->proto; in hash_ipport4_data_equal()
101 &e.port, &e.proto)) in hash_ipport4_kadt()
146 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport4_uadt()
149 if (e.proto == 0) in hash_ipport4_uadt()
155 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipport4_uadt()
215 u8 proto; member
228 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
271 &e.port, &e.proto)) in hash_ipport6_kadt()
325 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport6_uadt()
[all …]
H A Dip_set_hash_ipportip.c46 u8 proto; member
58 ip1->proto == ip2->proto; in hash_ipportip4_data_equal()
99 &e.port, &e.proto)) in hash_ipportip4_kadt()
142 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportip4_uadt()
145 if (e.proto == 0) in hash_ipportip4_uadt()
151 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipportip4_uadt()
212 u8 proto; member
226 ip1->proto == ip2->proto; in hash_ipportip6_data_equal()
269 &e.port, &e.proto)) in hash_ipportip6_kadt()
320 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportip6_uadt()
[all …]
H A Dip_set_hash_netport.c54 u8 proto; member
68 ip1->proto == ip2->proto && in hash_netport4_data_equal()
144 &e.port, &e.proto)) in hash_netport4_kadt()
193 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netport4_uadt()
196 if (e.proto == 0) in hash_netport4_uadt()
202 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_netport4_uadt()
271 u8 proto; member
285 ip1->proto == ip2->proto && in hash_netport6_data_equal()
364 &e.port, &e.proto)) in hash_netport6_kadt()
416 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netport6_uadt()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dbrcms_trace_events.h27 #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/wan/
H A Dhdlc_raw.c29 static struct hdlc_proto proto = { variable
46 if (dev_to_hdlc(dev)->proto != &proto) in raw_ioctl()
78 result = attach_hdlc_protocol(dev, &proto, in raw_ioctl()
95 register_hdlc_protocol(&proto); in hdlc_raw_init()
103 unregister_hdlc_protocol(&proto); in hdlc_raw_exit()
H A Dhdlc_raw_eth.c43 static struct hdlc_proto proto = { variable
62 if (dev_to_hdlc(dev)->proto != &proto) in raw_eth_ioctl()
94 result = attach_hdlc_protocol(dev, &proto, in raw_eth_ioctl()
115 register_hdlc_protocol(&proto); in hdlc_eth_init()
123 unregister_hdlc_protocol(&proto); in hdlc_eth_exit()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf-c/
H A D0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch5 test-full.proto in protobuf-c-native
7 Those code was auto generated by protoc command with test-full.proto, those code are not compatible
9 the test-full.proto with latest version protobuf.
75 …est.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test.proto
76 …)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto
78 …timized.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-optimized.proto
81 … t/test-full.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto
82 …toc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
84 -t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto
85 - $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdpwall.c102 __u8 proto; member
237 if (info->proto == IPPROTO_TCP) { in filter_transport_hdr()
280 info->proto = inner_ip6h->nexthdr; in parse_gue_v6()
290 info->proto = inner_ip4h->protocol; in parse_gue_v6()
306 info->proto = ip6h->nexthdr; in parse_ipv6_gue()
311 if (info->proto == IPPROTO_UDP) in parse_ipv6_gue()
327 __u32 proto; in edgewall() local
333 proto = eth->h_proto; in edgewall()
334 if (proto != bpf_htons(ETH_P_IPV6)) in edgewall()
340 if (info.proto == IPPROTO_ICMPV6) in edgewall()
[all …]
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_opal.c158 hv_protocol_t proto; in hvc_opal_probe() local
163 proto = HV_PROTOCOL_RAW; in hvc_opal_probe()
167 proto = HV_PROTOCOL_HVSI; in hvc_opal_probe()
186 pv->proto = proto; in hvc_opal_probe()
188 if (proto == HV_PROTOCOL_HVSI) { in hvc_opal_probe()
207 proto == HV_PROTOCOL_RAW ? "raw" : "hvsi", in hvc_opal_probe()
278 switch(hvc_opal_boot_priv.proto) { in udbg_opal_putc()
300 switch(hvc_opal_boot_priv.proto) { in udbg_opal_getc_poll()
373 hvc_opal_boot_priv.proto = HV_PROTOCOL_RAW; in hvc_opal_init_early()
378 hvc_opal_boot_priv.proto = HV_PROTOCOL_HVSI; in hvc_opal_init_early()
[all …]
/openbmc/linux/include/net/
H A Dtransp_v6.h9 extern struct proto rawv6_prot;
10 extern struct proto udpv6_prot;
11 extern struct proto udplitev6_prot;
12 extern struct proto tcpv6_prot;
13 extern struct proto pingv6_prot;
H A Dtun_proto.h16 static inline __be16 tun_p_to_eth_p(u8 proto) in tun_p_to_eth_p() argument
18 switch (proto) { in tun_p_to_eth_p()
33 static inline u8 tun_p_from_eth_p(__be16 proto) in tun_p_from_eth_p() argument
35 switch (proto) { in tun_p_from_eth_p()
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dhg.py49 ud.proto = ud.parm['protocol']
51 ud.proto = 'file'
53 ud.proto = "hg"
100 proto = ud.parm.get('protocol', 'http')
103 if proto == "file":
116 return "%s identify -i %s://%s/%s" % (ud.basecmd, proto, hgroot, ud.module)
129 …s\" clone %s %s://%s/%s %s" % (ud.basecmd, ud.user, ud.pswd, proto, " ".join(options), proto, hgro…
131 …cmd = "%s clone %s %s://%s/%s %s" % (ud.basecmd, " ".join(options), proto, hgroot, ud.module, ud.m…
137 …ault.password=%s --config \"auth.default.schemes=%s\" pull" % (ud.basecmd, ud.user, ud.pswd, proto)
142 …"auth.default.schemes=%s\" update -C %s" % (ud.basecmd, ud.user, ud.pswd, proto, " ".join(options))
[all …]
/openbmc/linux/net/ipv4/
H A Desp4_offload.c98 int proto = iph->protocol; in esp4_gso_encap() local
107 xo->proto = proto; in esp4_gso_encap()
143 u8 proto = xo->proto; in xfrm4_beet_gso_segment() local
148 if (proto == IPPROTO_BEETPH) { in xfrm4_beet_gso_segment()
153 proto = ph->nexthdr; in xfrm4_beet_gso_segment()
161 ipv6_skip_exthdr(skb, 0, &proto, &frag); in xfrm4_beet_gso_segment()
162 if (proto == IPPROTO_TCP) in xfrm4_beet_gso_segment()
166 if (proto == IPPROTO_IPV6) in xfrm4_beet_gso_segment()
170 ops = rcu_dereference(inet_offloads[proto]); in xfrm4_beet_gso_segment()
278 esp.proto = xo->proto; in esp_xmit()
[all …]
/openbmc/linux/net/ipv6/
H A Desp6_offload.c125 u8 proto = iph->nexthdr; in esp6_gso_encap() local
141 xo->proto = proto; in esp6_gso_encap()
177 u8 proto = xo->proto; in xfrm6_beet_gso_segment() local
185 if (proto == IPPROTO_BEETPH) { in xfrm6_beet_gso_segment()
190 proto = ph->nexthdr; in xfrm6_beet_gso_segment()
195 if (proto == IPPROTO_TCP) in xfrm6_beet_gso_segment()
201 ipv6_skip_exthdr(skb, 0, &proto, &frag); in xfrm6_beet_gso_segment()
204 if (proto == IPPROTO_IPIP) in xfrm6_beet_gso_segment()
208 ops = rcu_dereference(inet6_offloads[proto]); in xfrm6_beet_gso_segment()
312 esp.proto = xo->proto; in esp6_xmit()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dchecksum_32.h110 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
119 "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold()
128 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
131 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
147 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
162 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
/openbmc/linux/include/linux/
H A Dhdlc.h44 const struct hdlc_proto *proto; member
64 void register_hdlc_protocol(struct hdlc_proto *proto);
65 void unregister_hdlc_protocol(struct hdlc_proto *proto);
96 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto,
109 if (hdlc->proto->type_trans) in hdlc_type_trans()
110 return hdlc->proto->type_trans(skb, dev); in hdlc_type_trans()
H A Dnet.h252 int __sock_create(struct net *net, int family, int type, int proto,
254 int sock_create(int family, int type, int proto, struct socket **res);
256 int sock_create_lite(int family, int type, int proto, struct socket **res);
345 #define MODULE_ALIAS_NETPROTO(proto) \ argument
346 MODULE_ALIAS("net-pf-" __stringify(proto))
348 #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \ argument
349 MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto))
351 #define MODULE_ALIAS_NET_PF_PROTO_TYPE(pf, proto, type) \ argument
352 MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \
355 #define MODULE_ALIAS_NET_PF_PROTO_NAME(pf, proto, name) \ argument
[all …]
H A Dif_pppox.h50 } proto; member
53 #define pppoe_dev proto.pppoe.dev
54 #define pppoe_ifindex proto.pppoe.ifindex
55 #define pppoe_pa proto.pppoe.pa
56 #define pppoe_relay proto.pppoe.relay
/openbmc/u-boot/drivers/misc/
H A Dmpc83xx_serdes.c121 const char *proto; in mpc83xx_serdes_probe() local
152 proto = dev_read_string(dev, "proto"); in mpc83xx_serdes_probe()
155 if (!strcmp(proto, "sata")) { in mpc83xx_serdes_probe()
157 } else if (!strcmp(proto, "pex")) { in mpc83xx_serdes_probe()
159 } else if (!strcmp(proto, "pex-x2")) { in mpc83xx_serdes_probe()
161 } else if (!strcmp(proto, "sgmii")) { in mpc83xx_serdes_probe()
164 debug("%s: Invalid protocol value %s\n", dev->name, proto); in mpc83xx_serdes_probe()
/openbmc/linux/include/linux/mtd/
H A Dspi-nor.h178 static inline bool spi_nor_protocol_is_dtr(enum spi_nor_protocol proto) in spi_nor_protocol_is_dtr() argument
180 return !!(proto & SNOR_PROTO_IS_DTR); in spi_nor_protocol_is_dtr()
183 static inline u8 spi_nor_get_protocol_inst_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_inst_nbits() argument
185 return ((unsigned long)(proto & SNOR_PROTO_INST_MASK)) >> in spi_nor_get_protocol_inst_nbits()
189 static inline u8 spi_nor_get_protocol_addr_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_addr_nbits() argument
191 return ((unsigned long)(proto & SNOR_PROTO_ADDR_MASK)) >> in spi_nor_get_protocol_addr_nbits()
195 static inline u8 spi_nor_get_protocol_data_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_data_nbits() argument
197 return ((unsigned long)(proto & SNOR_PROTO_DATA_MASK)) >> in spi_nor_get_protocol_data_nbits()
201 static inline u8 spi_nor_get_protocol_width(enum spi_nor_protocol proto) in spi_nor_get_protocol_width() argument
203 return spi_nor_get_protocol_data_nbits(proto); in spi_nor_get_protocol_width()
/openbmc/linux/arch/sparc/include/asm/
H A Dchecksum_32.h133 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
141 : "r" (daddr), "r" (proto + len), "0" (sum), in csum_tcpudp_nofold()
152 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
155 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
162 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
186 "r"(htonl(len)), "r"(htonl(proto)), "r"(sum) in csum_ipv6_magic()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.c146 enum nvkm_ior_proto proto; in nvkm_outp_acquire() local
156 proto = nvkm_outp_xlat(outp, &type); in nvkm_outp_acquire()
157 if (proto == UNKNOWN) in nvkm_outp_acquire()
221 enum nvkm_ior_proto proto; in nvkm_outp_init_route() local
227 proto = nvkm_outp_xlat(outp, &type); in nvkm_outp_init_route()
228 if (proto == UNKNOWN) in nvkm_outp_init_route()
258 if (!ior->arm.head || ior->arm.proto != proto) { in nvkm_outp_init_route()
260 ior->arm.proto, proto); in nvkm_outp_init_route()
302 enum nvkm_ior_proto proto; in nvkm_outp_new_() local
322 proto = nvkm_outp_xlat(outp, &type); in nvkm_outp_new_()
[all …]

12345678910>>...45