Home
last modified time | relevance | path

Searched refs:__be16 (Results 1 – 25 of 268) sorted by relevance

1234567891011

/net/core/
Dsecure_seq.c77 __be16 sport, __be16 dport) in secure_tcpv6_seq()
82 __be16 sport; in secure_tcpv6_seq()
83 __be16 dport; in secure_tcpv6_seq()
100 __be16 dport) in secure_ipv6_port_ephemeral()
106 __be16 dport; in secure_ipv6_port_ephemeral()
137 __be16 sport, __be16 dport) in secure_tcp_seq()
149 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) in secure_ipv4_port_ephemeral()
162 __be16 sport, __be16 dport) in secure_dccp_sequence_number()
177 __be16 sport, __be16 dport) in secure_dccpv6_sequence_number()
182 __be16 sport; in secure_dccpv6_sequence_number()
[all …]
/net/openvswitch/
Dflow.h49 __be16 tpid; /* Vlan type. Generally 802.1q or 802.1ad.*/
50 __be16 tci; /* 0 if no VLAN, VLAN_CFI_MASK set otherwise. */
80 __be16 type; /* Ethernet frame type. */
97 __be16 src; /* TCP/UDP/SCTP source port. */
98 __be16 dst; /* TCP/UDP/SCTP destination port. */
99 __be16 flags; /* TCP flags. */
146 __be16 src; /* CT orig tuple tp src port. */
147 __be16 dst; /* CT orig tuple tp dst port. */
204 __be16 tcp_flags; /* Union of seen TCP flags. */
229 __be16 ar_hrd; /* format of hardware address */
[all …]
/net/bridge/
Dbr_private_mrp.h117 __be16 seq_id;
122 __be16 prio;
124 __be16 port_role;
125 __be16 state;
126 __be16 transitions;
131 __be16 id;
133 __be16 port_role;
134 __be16 state;
135 __be16 transitions;
/net/hsr/
Dhsr_main.h55 __be16 path_and_LSDU_size;
56 __be16 sequence_nr;
57 __be16 encap_proto;
101 __be16 path_and_HSR_ver;
102 __be16 sequence_nr;
148 __be16 sequence_nr;
149 __be16 lan_id_and_LSDU_size;
150 __be16 PRP_suffix;
189 int (*fill_frame_info)(__be16 proto, struct sk_buff *skb,
191 bool (*invalid_dan_ingress_frame)(__be16 protocol);
/net/8021q/
Dvlan_core.c13 __be16 vlan_proto = skb->vlan_proto; in vlan_do_receive()
77 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu()
119 __be16 vlan_dev_vlan_proto(const struct net_device *dev) in vlan_dev_vlan_proto()
164 __be16 proto;
169 static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto) in vlan_hw_filter_capable()
181 __be16 proto, u16 vid) in vlan_vid_info_get()
192 static struct vlan_vid_info *vlan_vid_info_alloc(__be16 proto, u16 vid) in vlan_vid_info_alloc()
205 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info()
216 static int vlan_kill_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_kill_rx_filter_info()
254 int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto) in vlan_filter_push_vids()
[all …]
Dvlan.h39 static inline int vlan_proto_idx(__be16 proto) in vlan_proto_idx()
68 __be16 vlan_proto, in vlan_group_get_device()
80 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device()
95 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev()
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);
138 __be16 protocol, u16 vlan_id,
/net/rxrpc/
Dprotocol.h63 __be16 _rsvd; /* reserved */
64 __be16 cksum; /* kerberos security checksum */
66 __be16 serviceId; /* service ID */
84 __be16 _rsvd; /* reserved */
85 __be16 cksum; /* kerberos security checksum */
107 __be16 bufferSpace; /* number of packet buffers available */
108 __be16 maxSkew; /* diff between serno being ACK'd and highest serial no
/net/dsa/
Dtag_rtl4_a.c38 __be16 *p; in rtl4a_tag_xmit()
54 p = (__be16 *)tag; in rtl4a_tag_xmit()
61 p = (__be16 *)(tag + 2); in rtl4a_tag_xmit()
71 __be16 *p; in rtl4a_tag_rcv()
81 p = (__be16 *)tag; in rtl4a_tag_rcv()
88 p = (__be16 *)(tag + 2); in rtl4a_tag_rcv()
/net/ipv6/netfilter/
Dnf_socket_ipv6.c26 __be16 *rport, in extract_icmp6_fields()
27 __be16 *lport, in extract_icmp6_fields()
32 __be16 *ports, _ports[2]; in extract_icmp6_fields()
34 __be16 inside_fragoff; in extract_icmp6_fields()
81 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v6()
100 __be16 dport, sport; in nf_sk_lookup_slow_v6()
/net/ncsi/
Dncsi-pkt.h16 __be16 length; /* Payload length */
26 __be16 code; /* Response code */
27 __be16 reason; /* Response reason */
97 __be16 reserved; /* Reserved */
98 __be16 vlan; /* VLAN ID */
99 __be16 reserved1; /* Reserved */
177 __be16 len; /* Payload Length */
208 __be16 pci_ids[4]; /* PCI IDs */
239 __be16 vlan_enable; /* VLAN tag enable flags */
248 __be16 vlan; /* Supported VLAN tags */
/net/netfilter/ipset/
Dip_set_getport.c26 bool src, __be16 *port, u8 *proto) in get_port()
74 *port = (__force __be16)htons((ic->type << 8) | ic->code); in get_port()
85 *port = (__force __be16) in get_port()
99 __be16 *port, u8 *proto) in ip_set_get_ip4_port()
133 __be16 *port, u8 *proto) in ip_set_get_ip6_port()
137 __be16 frag_off = 0; in ip_set_get_ip6_port()
/net/netfilter/
Dnft_payload.c263 if (!nft_payload_offload_mask(reg, priv->len, sizeof(__be16))) in nft_payload_offload_ll()
267 n_proto, sizeof(__be16), reg); in nft_payload_offload_ll()
271 if (!nft_payload_offload_mask(reg, priv->len, sizeof(__be16))) in nft_payload_offload_ll()
275 vlan_tci, sizeof(__be16), reg, in nft_payload_offload_ll()
279 if (!nft_payload_offload_mask(reg, priv->len, sizeof(__be16))) in nft_payload_offload_ll()
283 vlan_tpid, sizeof(__be16), reg); in nft_payload_offload_ll()
287 if (!nft_payload_offload_mask(reg, priv->len, sizeof(__be16))) in nft_payload_offload_ll()
291 vlan_tci, sizeof(__be16), reg, in nft_payload_offload_ll()
296 if (!nft_payload_offload_mask(reg, priv->len, sizeof(__be16))) in nft_payload_offload_ll()
300 vlan_tpid, sizeof(__be16), reg); in nft_payload_offload_ll()
[all …]
Dnf_conntrack_h323_main.c56 union nf_inet_addr *addr, __be16 port)
61 union nf_inet_addr *addr, __be16 port)
79 __be16 port, __be16 rtp_port,
87 H245_TransportAddress *taddr, __be16 port,
94 TransportAddress *taddr, __be16 port,
101 TransportAddress *taddr, __be16 port,
108 __be16 port, struct nf_conntrack_expect *exp)
224 union nf_inet_addr *addr, __be16 *port) in get_h245_addr()
251 memcpy(port, p + len, sizeof(__be16)); in get_h245_addr()
264 __be16 port; in expect_rtp_rtcp()
[all …]
Dxt_TCPMSS.c81 __be16 oldval; in tcpmss_mangle_packet()
188 oldval = ((__be16 *)tcph)[6]; in tcpmss_mangle_packet()
191 oldval, ((__be16 *)tcph)[6], false); in tcpmss_mangle_packet()
199 __be16 newlen; in tcpmss_tg4()
223 __be16 frag_off, oldlen, newlen; in tcpmss_tg6()
Dnf_flow_table_core.c447 __be16 port, __be16 new_port) in nf_flow_nat_port_tcp()
456 __be16 port, __be16 new_port) in nf_flow_nat_port_udp()
470 u8 protocol, __be16 port, __be16 new_port) in nf_flow_nat_port()
487 __be16 port, new_port; in nf_flow_snat_port()
513 __be16 port, new_port; in nf_flow_dnat_port()
/net/ipv4/netfilter/
Dnf_socket_ipv4.c22 __be16 *rport, __be16 *lport) in extract_icmp4_fields()
27 __be16 *ports, _ports[2]; in extract_icmp4_fields()
69 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v4()
88 __be16 dport, sport; in nf_sk_lookup_slow_v4()
Dnf_nat_h323.c25 unsigned int addroff, __be32 ip, __be16 port) in set_addr()
31 __be16 port; in set_addr()
74 union nf_inet_addr *addr, __be16 port) in set_h225_addr()
84 union nf_inet_addr *addr, __be16 port) in set_h245_addr()
100 __be16 port; in set_sig_addr()
152 __be16 port; in set_ras_addr()
178 __be16 port, __be16 rtp_port, in nat_rtp_rtcp()
283 H245_TransportAddress *taddr, __be16 port, in nat_t120()
334 TransportAddress *taddr, __be16 port, in nat_h245()
426 __be16 port, struct nf_conntrack_expect *exp) in nat_q931()
[all …]
/net/ipv6/
Dsyncookies.c42 __be16 sport, __be16 dport, u32 count, int c) in cookie_hash()
48 __be16 sport; in cookie_hash()
49 __be16 dport; in cookie_hash()
65 __be16 sport, __be16 dport, __u32 sseq, in secure_tcp_syn_cookie()
76 const struct in6_addr *daddr, __be16 sport, in check_tcp_syn_cookie()
77 __be16 dport, __u32 sseq) in check_tcp_syn_cookie()
Dinet6_hashtables.c28 const struct in6_addr *faddr, const __be16 fport) in inet6_ehashfn()
54 const __be16 sport, in __inet6_lookup_established()
119 __be16 sport, in lookup_reuseport()
138 const __be16 sport, const struct in6_addr *daddr, in inet6_lhash2_lookup()
166 const __be16 sport, in inet6_lookup_run_bpf()
191 const __be16 sport, const struct in6_addr *daddr, in inet6_lookup_listener()
231 const struct in6_addr *saddr, const __be16 sport, in inet6_lookup()
232 const struct in6_addr *daddr, const __be16 dport, in inet6_lookup()
/net/smc/
Dsmc_clc.h67 __be16 length;
117 __be16 smcd_v2_ext_offset; /* SMC-Dv2 Extension Offset */
122 __be16 chid; /* ISMv2 CHID */
144 __be16 v2_ext_offset; /* SMC Version 2 Extension Offset */
157 __be16 iparea_offset; /* offset to IP address information area */
241 __be16 chid;
Dsmc_core.h383 be16_to_cpu(((__be16 *)gid_raw)[0]), in smc_gid_be16_convert()
384 be16_to_cpu(((__be16 *)gid_raw)[1]), in smc_gid_be16_convert()
385 be16_to_cpu(((__be16 *)gid_raw)[2]), in smc_gid_be16_convert()
386 be16_to_cpu(((__be16 *)gid_raw)[3]), in smc_gid_be16_convert()
387 be16_to_cpu(((__be16 *)gid_raw)[4]), in smc_gid_be16_convert()
388 be16_to_cpu(((__be16 *)gid_raw)[5]), in smc_gid_be16_convert()
389 be16_to_cpu(((__be16 *)gid_raw)[6]), in smc_gid_be16_convert()
390 be16_to_cpu(((__be16 *)gid_raw)[7])); in smc_gid_be16_convert()
/net/netfilter/ipvs/
Dip_vs_sh.c85 __be16 port, unsigned int offset) in ip_vs_sh_hashkey()
105 const union nf_inet_addr *addr, __be16 port) in ip_vs_sh_get()
122 const union nf_inet_addr *addr, __be16 port) in ip_vs_sh_get_fallback()
276 static inline __be16
279 __be16 _ports[2], *ports; in ip_vs_sh_get_port()
314 __be16 port = 0; in ip_vs_sh_schedule()
Dip_vs_proto_udp.c38 __be16 _ports[2], *ports = NULL; in udp_conn_schedule()
96 __be16 oldport, __be16 newport) in udp_fast_csum_update()
118 __be16 oldlen, __be16 newlen) in udp_partial_csum_update()
354 static inline __u16 udp_app_hashkey(__be16 port) in udp_app_hashkey()
365 __be16 port = inc->port; in udp_register_app()
/net/atm/
Dlec.h18 __be16 le_header;
21 __be16 h_type;
25 __be16 le_header;
/net/rds/
Drds.h210 __be16 h_sport;
211 __be16 h_dport;
583 (sizeof(struct in6_addr) + sizeof(__u32) + sizeof(__be16))
604 __be16 rs_conn_port;
740 struct rds_sock *rds_find_bound(const struct in6_addr *addr, __be16 port,
749 void rds_cong_set_bit(struct rds_cong_map *map, __be16 port);
750 void rds_cong_clear_bit(struct rds_cong_map *map, __be16 port);
751 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, struct rds_sock *rs);
858 void rds_message_populate_header(struct rds_header *hdr, __be16 sport,
859 __be16 dport, u64 seq);
[all …]

1234567891011