Home
last modified time | relevance | path

Searched refs:dport (Results 1 – 25 of 209) sorted by relevance

123456789

/openbmc/linux/drivers/tty/serial/
H A Ddz.c148 dz_out(dport, DZ_LPR, dport->cflag); in dz_stop_rx()
181 struct dz_port *dport = &mux->dport[0]; in dz_receive_chars() local
189 dport = &mux->dport[LINE(status)]; in dz_receive_chars()
254 struct dz_port *dport = &mux->dport[0]; in dz_transmit_chars() local
260 dport = &mux->dport[LINE(status)]; in dz_transmit_chars()
264 dz_out(dport, DZ_TDR, dport->port.x_char); in dz_transmit_chars()
335 struct dz_port *dport = &mux->dport[0]; in dz_interrupt() local
776 struct dz_port *dport = &dz_mux.dport[line]; in dz_init_ports() local
856 struct dz_port *dport = &dz_mux.dport[co->index]; in dz_console_print() local
865 struct dz_port *dport = &dz_mux.dport[co->index]; in dz_console_setup() local
[all …]
/openbmc/linux/drivers/tty/
H A Dmips_ejtag_fdc.c427 if (dport->xmit_cnt) { in mips_ejtag_fdc_put_chan()
428 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
431 dport->xmit_cnt); in mips_ejtag_fdc_put_chan()
452 dport->xmit_head = 0; in mips_ejtag_fdc_put_chan()
609 if (!dport->rx_buf) in mips_ejtag_fdc_handle()
745 dport->rx_buf = NULL; in mips_ejtag_fdc_tty_port_shutdown()
787 if (dport->xmit_cnt) { in mips_ejtag_fdc_tty_hangup()
789 dport->xmit_cnt = 0; in mips_ejtag_fdc_tty_hangup()
790 dport->xmit_head = 0; in mips_ejtag_fdc_tty_hangup()
791 dport->xmit_tail = 0; in mips_ejtag_fdc_tty_hangup()
[all …]
/openbmc/linux/net/core/
H A Dsecure_seq.c77 __be16 sport, __be16 dport) in secure_tcpv6_seq() argument
83 __be16 dport; in secure_tcpv6_seq() member
88 .dport = dport in secure_tcpv6_seq()
100 __be16 dport) in secure_ipv6_port_ephemeral() argument
106 __be16 dport; in secure_ipv6_port_ephemeral() member
111 .dport = dport, in secure_ipv6_port_ephemeral()
137 __be16 sport, __be16 dport) in secure_tcp_seq() argument
153 (__force u16)dport, in secure_ipv4_port_ephemeral()
162 __be16 sport, __be16 dport) in secure_dccp_sequence_number() argument
183 __be16 dport; in secure_dccpv6_sequence_number() member
[all …]
/openbmc/linux/drivers/cxl/core/
H A Dport.c155 if (!dport) in emit_target_list()
924 dport->port_id, dev_name(dport->dport_dev), in add_dport()
1001 dport = devm_kzalloc(host, sizeof(*dport), GFP_KERNEL); in __devm_cxl_add_dport()
1002 if (!dport) in __devm_cxl_add_dport()
1057 return dport; in __devm_cxl_add_dport()
1087 return dport; in devm_cxl_add_dport()
1161 ep->dport = dport; in cxl_add_ep()
1189 *ctx->dport = dport; in match_port_by_dport()
1211 .dport = dport, in find_cxl_port()
1226 .dport = dport, in find_cxl_port_at()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_svc.c5708 struct bfa_dport_s *dport = &fcdiag->dport; in bfa_fcdiag_attach() local
5726 struct bfa_dport_s *dport = &fcdiag->dport; in bfa_fcdiag_iocdisable() local
6130 dport->cbfn(dport->cbarg, bfa_status); in bfa_cb_fcdiag_dport()
6518 bfa_trc(dport->bfa, dport->rp_pwwn); in bfa_dport_req_comp()
6519 bfa_trc(dport->bfa, dport->rp_nwwn); in bfa_dport_req_comp()
6559 bfa_trc(dport->bfa, dport->result.status); in bfa_dport_scn()
6574 bfa_trc(dport->bfa, dport->result.frmsz); in bfa_dport_scn()
6575 bfa_trc(dport->bfa, dport->result.speed); in bfa_dport_scn()
6747 struct bfa_dport_s *dport = &fcdiag->dport; in bfa_dport_disable() local
6805 struct bfa_dport_s *dport = &fcdiag->dport; in bfa_dport_start() local
[all …]
/openbmc/linux/include/net/
H A Dsecure_seq.h9 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
11 __be16 dport);
13 __be16 sport, __be16 dport);
16 __be16 sport, __be16 dport);
20 __be16 sport, __be16 dport);
22 __be16 sport, __be16 dport);
H A Dinet_hashtables.h324 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument
327 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
406 const __be32 daddr, const __be16 dport, in inet_lookup_established() argument
410 ntohs(dport), dif, 0); in inet_lookup_established()
417 const __be32 daddr, const __be16 dport, in __inet_lookup() argument
421 u16 hnum = ntohs(dport); in __inet_lookup()
445 dport, dif, 0, &refcounted); in inet_lookup()
455 const __be32 daddr, const __be16 dport, in inet_steal_sock() argument
479 saddr, sport, daddr, ntohs(dport), in inet_steal_sock()
496 const __be16 dport, in __inet_lookup_skb() argument
[all …]
H A Dinet6_hashtables.h109 const struct in6_addr *daddr, const __be16 dport, in inet6_steal_sock() argument
133 saddr, sport, daddr, ntohs(dport), in inet6_steal_sock()
149 const __be16 dport, in __inet6_lookup_skb() argument
157 sk = inet6_steal_sock(net, skb, doff, &ip6h->saddr, sport, &ip6h->daddr, dport, in __inet6_lookup_skb()
166 &ip6h->daddr, ntohs(dport), in __inet6_lookup_skb()
173 const struct in6_addr *daddr, const __be16 dport,
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_assign.c107 __be16 dport; in handle_udp() local
118 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport; in handle_udp()
119 if (dport != bpf_htons(4321)) in handle_udp()
138 __be16 dport; in handle_tcp() local
152 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport; in handle_tcp()
153 if (dport != bpf_htons(4321)) in handle_tcp()
H A Dtest_xdp_loop.c85 int dport; in handle_ipv4() local
92 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
93 if (dport == -1) in handle_ipv4()
99 vip.dport = dport; in handle_ipv4()
157 int dport; in handle_ipv6() local
162 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
163 if (dport == -1) in handle_ipv6()
169 vip.dport = dport; in handle_ipv6()
H A Dtest_xdp.c89 int dport; in handle_ipv4() local
96 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
97 if (dport == -1) in handle_ipv4()
103 vip.dport = dport; in handle_ipv4()
161 int dport; in handle_ipv6() local
166 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
167 if (dport == -1) in handle_ipv6()
173 vip.dport = dport; in handle_ipv6()
H A Dtest_xdp_dynptr.c90 int dport; in handle_ipv4() local
106 dport = get_dport(iph + 1, iph->protocol); in handle_ipv4()
107 if (dport == -1) in handle_ipv4()
113 vip.dport = dport; in handle_ipv4()
171 int dport; in handle_ipv6() local
185 dport = get_dport(ip6h + 1, ip6h->nexthdr); in handle_ipv6()
186 if (dport == -1) in handle_ipv6()
192 vip.dport = dport; in handle_ipv6()
H A Dtest_bpf_nf.c33 __be16 dport = 0; variable
148 bpf_tuple.ipv4.dport = bpf_get_prandom_u32(); /* dst port */ in nf_ct_test()
154 __u16 dport = bpf_get_prandom_u32(); in nf_ct_test() local
167 bpf_ct_set_nat_info(ct, &daddr, dport, NF_NAT_MANIP_DST___local); in nf_ct_test()
184 tuple->src.u.all == bpf_htons(dport)) in nf_ct_test()
208 bpf_tuple.ipv4.dport = dport; in nf_ct_test()
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/
H A D50-gbmc-br-cn-redirect.rules15 tcp dport 10167-10168 mark set 0xff
16 mark 1 tcp dport 10166 tcp dport set 10167 notrack
17 mark 2 tcp dport 10166 tcp dport set 10168 notrack
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_socket_ipv4.c69 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v4() argument
75 skb, doff, saddr, sport, daddr, dport, in nf_socket_get_sock_v4()
78 return udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_socket_get_sock_v4()
88 __be16 dport, sport; in nf_sk_lookup_slow_v4() local
112 dport = hp->dest; in nf_sk_lookup_slow_v4()
120 &sport, &dport)) in nf_sk_lookup_slow_v4()
140 dport = (iph->protocol == IPPROTO_TCP) ? in nf_sk_lookup_slow_v4()
147 daddr, sport, dport, indev); in nf_sk_lookup_slow_v4()
H A Dnf_tproxy_ipv4.c80 const __be16 sport, const __be16 dport, in nf_tproxy_get_sock_v4() argument
100 saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
113 daddr, dport, in->ifindex); in nf_tproxy_get_sock_v4()
121 sk = udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
146 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
/openbmc/linux/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c88 int dport; in handle_ipv4() local
95 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
96 if (dport == -1) in handle_ipv4()
102 vip.dport = dport; in handle_ipv4()
162 int dport; in handle_ipv6() local
167 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
168 if (dport == -1) in handle_ipv6()
174 vip.dport = dport; in handle_ipv6()
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_socket_ipv6.c81 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v6() argument
87 skb, doff, saddr, sport, daddr, dport, in nf_socket_get_sock_v6()
90 return udp6_lib_lookup(net, saddr, sport, daddr, dport, in nf_socket_get_sock_v6()
100 __be16 dport, sport; in nf_sk_lookup_slow_v6() local
125 dport = hp->dest; in nf_sk_lookup_slow_v6()
133 &sport, &dport, &ipv6_var)) in nf_sk_lookup_slow_v6()
140 sport, dport, indev); in nf_sk_lookup_slow_v6()
H A Dnf_tproxy_ipv6.c79 const __be16 sport, const __be16 dport, in nf_tproxy_get_sock_v6() argument
100 daddr, ntohs(dport), in nf_tproxy_get_sock_v6()
113 ntohs(dport), in->ifindex, 0); in nf_tproxy_get_sock_v6()
121 sk = udp6_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v6()
145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
/openbmc/linux/net/ipv4/
H A Dfou_bpf.c17 __be16 dport; member
73 info->encap.dport = encap->dport; in bpf_skb_set_fou_encap()
98 encap->dport = info->encap.dport; in bpf_skb_get_fou_encap()
/openbmc/openbmc/meta-google/recipes-google/ncsi/files/
H A D50-gbmc-ncsi.rules.in19 tcp dport 3959 accept
20 udp dport 3959 accept
21 tcp dport 3967 accept
22 udp dport 3967 accept
43 udp dport 547 accept
/openbmc/linux/net/ipv6/
H A Dsyncookies.c42 __be16 sport, __be16 dport, u32 count, int c) in cookie_hash() argument
49 __be16 dport; in cookie_hash() member
55 .dport = dport in cookie_hash()
59 return siphash(&combined, offsetofend(typeof(combined), dport), in cookie_hash()
65 __be16 sport, __be16 dport, __u32 sseq, in secure_tcp_syn_cookie() argument
69 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
71 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
77 __be16 dport, __u32 sseq) in check_tcp_syn_cookie() argument
81 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
88 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dgenerate_udp_fragments.py68 dport = SERVER_PORT
72 pkt = IP(src=sip,dst=dip) / UDP(sport=sport,dport=dport,chksum=0) / Raw(load=payload)
75 …pkt6 = IPv6(src=sip6,dst=dip6) / IPv6ExtHdrFragment(id=0xBEEF) / UDP(sport=sport,dport=dport) / Ra…
/openbmc/linux/include/trace/events/
H A Dtcp.h61 __field(__u16, dport)
78 __entry->dport = ntohs(inet->inet_dport);
130 __field(__u16, dport)
146 __entry->dport = ntohs(inet->inet_dport);
163 __entry->sport, __entry->dport,
200 __field(__u16, dport)
231 __entry->sport, __entry->dport,
249 __field(__u16, dport)
275 __entry->dport = ntohs(inet->inet_dport);
383 __field(__u16, dport)
[all …]
/openbmc/linux/tools/testing/cxl/test/
H A Dmock.c253 struct cxl_dport *dport; in __wrap_devm_cxl_add_rch_dport() local
257 dport = devm_cxl_add_dport(port, dport_dev, port_id, in __wrap_devm_cxl_add_rch_dport()
259 if (!IS_ERR(dport)) { in __wrap_devm_cxl_add_rch_dport()
260 dport->rcrb.base = rcrb; in __wrap_devm_cxl_add_rch_dport()
261 dport->rch = true; in __wrap_devm_cxl_add_rch_dport()
264 dport = devm_cxl_add_rch_dport(port, dport_dev, port_id, rcrb); in __wrap_devm_cxl_add_rch_dport()
267 return dport; in __wrap_devm_cxl_add_rch_dport()
272 struct cxl_dport *dport) in __wrap_cxl_rcd_component_reg_phys() argument
281 component_reg_phys = cxl_rcd_component_reg_phys(dev, dport); in __wrap_cxl_rcd_component_reg_phys()

123456789