Home
last modified time | relevance | path

Searched refs:__be32 (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/net/ncsi/
Dncsi-pkt.h17 __be32 reserved1[2]; /* Reserved */
39 __be32 checksum; /* Checksum */
45 __be32 checksum; /* Checksum */
54 __be32 checksum; /* Checksum */
63 __be32 checksum; /* Checksum */
70 __be32 reserved; /* Reserved */
71 __be32 checksum; /* Checksum */
80 __be32 mode; /* AEN working mode */
81 __be32 checksum; /* Checksum */
88 __be32 mode; /* Link working mode */
[all …]
/net/rxrpc/
Dprotocol.h13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */
14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */
22 __be32 epoch; /* client boot timestamp */
25 __be32 cid; /* connection and channel ID */
32 __be32 callNumber; /* call ID (0 for connection-level packets) */
33 __be32 seq; /* sequence number of pkt in call stream */
34 __be32 serial; /* serial number of pkt sent to network */
110 __be32 firstPacket; /* sequence no of first ACK'd packet in attached list */
111 __be32 previousPacket; /* sequence no of previous packet received */
112 __be32 serial; /* serial no of packet that prompted this ACK */
[all …]
/net/core/
Dsecure_seq.c57 const __be32 *saddr, const __be32 *daddr) in secure_tcpv6_ts_off()
76 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr, in secure_tcpv6_seq()
99 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, in secure_ipv6_port_ephemeral()
121 u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr) in secure_tcp_ts_off()
136 u32 secure_tcp_seq(__be32 saddr, __be32 daddr, in secure_tcp_seq()
149 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) in secure_ipv4_port_ephemeral()
161 u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, in secure_dccp_sequence_number()
176 u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, in secure_dccpv6_sequence_number()
/net/ipv6/
Dioam6.c653 *(__be32 *)data = cpu_to_be32((byte << 24) | raw32); in __ioam6_fill_trace_data()
654 data += sizeof(__be32); in __ioam6_fill_trace_data()
679 *(__be32 *)data = cpu_to_be32(IOAM6_U32_UNAVAILABLE); in __ioam6_fill_trace_data()
685 *(__be32 *)data = cpu_to_be32((u32)ts.tv_sec); in __ioam6_fill_trace_data()
687 data += sizeof(__be32); in __ioam6_fill_trace_data()
693 *(__be32 *)data = cpu_to_be32(IOAM6_U32_UNAVAILABLE); in __ioam6_fill_trace_data()
701 *(__be32 *)data = cpu_to_be32((u32)ts.tv_usec); in __ioam6_fill_trace_data()
703 data += sizeof(__be32); in __ioam6_fill_trace_data()
708 *(__be32 *)data = cpu_to_be32(IOAM6_U32_UNAVAILABLE); in __ioam6_fill_trace_data()
709 data += sizeof(__be32); in __ioam6_fill_trace_data()
[all …]
/net/bridge/netfilter/
Debt_among.c20 const char *mac, __be32 ip) in ebt_mac_wormhash_contains()
71 static int get_ip_dst(const struct sk_buff *skb, __be32 *addr) in get_ip_dst()
84 const __be32 *bp; in get_ip_dst()
85 __be32 buf; in get_ip_dst()
89 ah->ar_pln != sizeof(__be32) || in get_ip_dst()
93 2 * ETH_ALEN + sizeof(__be32), in get_ip_dst()
94 sizeof(__be32), &buf); in get_ip_dst()
102 static int get_ip_src(const struct sk_buff *skb, __be32 *addr) in get_ip_src()
115 const __be32 *bp; in get_ip_src()
116 __be32 buf; in get_ip_src()
[all …]
/net/netlabel/
Dnetlabel_addrlist.h34 __be32 addr;
35 __be32 mask;
100 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask,
103 struct netlbl_af4list *netlbl_af4list_search(__be32 addr,
105 struct netlbl_af4list *netlbl_af4list_search_exact(__be32 addr,
106 __be32 mask,
112 __be32 addr, __be32 mask);
116 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
Dnetlabel_addrlist.c46 struct netlbl_af4list *netlbl_af4list_search(__be32 addr, in netlbl_af4list_search()
70 struct netlbl_af4list *netlbl_af4list_search_exact(__be32 addr, in netlbl_af4list_search_exact()
71 __be32 mask, in netlbl_af4list_search_exact()
239 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask, in netlbl_af4list_remove()
312 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
/net/atm/
Dmpoa_caches.h35 in_cache_entry *(*add_entry)(__be32 dst_ip,
37 in_cache_entry *(*get)(__be32 dst_ip, struct mpoa_client *client);
38 in_cache_entry *(*get_with_mask)(__be32 dst_ip,
40 __be32 mask);
62 __be32 latest_ip_addr; /* The src IP address of the last packet */
69 eg_cache_entry *(*get_by_cache_id)(__be32 cache_id, struct mpoa_client *client);
70 eg_cache_entry *(*get_by_tag)(__be32 cache_id, struct mpoa_client *client);
72 eg_cache_entry *(*get_by_src_ip)(__be32 ipaddr, struct mpoa_client *client);
/net/batman-adv/
Ddistributed-arp-table.c79 __be32 xid;
82 __be32 ciaddr;
83 __be32 yiaddr;
84 __be32 siaddr;
85 __be32 giaddr;
89 __be32 magic;
221 return memcmp(data1, data2, sizeof(__be32)) == 0; in batadv_compare_dat()
248 static __be32 batadv_arp_ip_src(struct sk_buff *skb, int hdr_size) in batadv_arp_ip_src()
250 return *(__force __be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN); in batadv_arp_ip_src()
272 static __be32 batadv_arp_ip_dst(struct sk_buff *skb, int hdr_size) in batadv_arp_ip_dst()
[all …]
/net/ipv4/
Darp.c186 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir) in arp_mc_map()
224 __be32 addr; in arp_constructor()
233 addr = *(__be32 *)neigh->primary_key; in arp_constructor()
300 static void arp_send_dst(int type, int ptype, __be32 dest_ip, in arp_send_dst()
301 struct net_device *dev, __be32 src_ip, in arp_send_dst()
322 void arp_send(int type, int ptype, __be32 dest_ip, in arp_send()
323 struct net_device *dev, __be32 src_ip, in arp_send()
334 __be32 saddr = 0; in arp_solicit()
337 __be32 target = *(__be32 *)neigh->primary_key; in arp_solicit()
395 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore()
[all …]
Dipconfig.c132 __be32 ic_myaddr = NONE; /* My IP address */
133 static __be32 ic_netmask = NONE; /* Netmask for local subnet */
134 __be32 ic_gateway = NONE; /* Gateway IP address */
137 static __be32 ic_addrservaddr = NONE; /* IP Address of the IP addresses'server */
140 __be32 ic_servaddr = NONE; /* Boot server IP address */
142 __be32 root_server_addr = NONE; /* Address of NFS server */
159 static __be32 ic_nameservers[CONF_NAMESERVERS_MAX]; /* DNS Server IP addresses */
160 static __be32 ic_ntp_servers[CONF_NTP_SERVERS_MAX]; /* NTP server IP addresses */
194 __be32 xid;
257 get_random_bytes(&d->xid, sizeof(__be32)); in ic_open_devs()
[all …]
Dip_options.c45 __be32 daddr, struct rtable *rt, int is_frag) in ip_options_build()
62 __be32 midtime; in ip_options_build()
141 __be32 addr; in __ip_options_echo()
158 __be32 faddr; in __ip_options_echo()
242 static void spec_dst_fill(__be32 *spec_dst, struct sk_buff *skb) in spec_dst_fill()
256 __be32 *info) in __ip_options_compile()
258 __be32 spec_dst = htonl(INADDR_ANY); in __ip_options_compile()
398 __be32 addr; in __ip_options_compile()
416 __be32 midtime; in __ip_options_compile()
482 __be32 info; in ip_options_compile()
[all …]
Dfib_frontend.c207 __be32 addr, u32 tb_id) in __inet_dev_addr_type()
236 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
242 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
249 __be32 addr) in inet_dev_addr_type()
262 __be32 addr) in inet_addr_type_dev_table()
270 __be32 fib_compute_spec_dst(struct sk_buff *skb) in fib_compute_spec_dst()
343 static int __fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, in __fib_validate_source()
421 int fib_validate_source(struct sk_buff *skb, __be32 src, __be32 dst, in fib_validate_source()
451 static inline __be32 sk_extract_addr(struct sockaddr *addr) in sk_extract_addr()
471 __be32 addr; in rtentry_to_fib_config()
[all …]
Dinet_hashtables.c31 static u32 inet_ehashfn(const struct net *net, const __be32 laddr, in inet_ehashfn()
32 const __u16 lport, const __be32 faddr, in inet_ehashfn()
233 const unsigned short hnum, const __be32 daddr, in compute_score()
257 __be32 saddr, __be16 sport, in lookup_reuseport()
258 __be32 daddr, unsigned short hnum) in lookup_reuseport()
281 const __be32 saddr, __be16 sport, in inet_lhash2_lookup()
282 const __be32 daddr, const unsigned short hnum, in inet_lhash2_lookup()
309 __be32 saddr, __be16 sport, in inet_lookup_run_bpf()
310 __be32 daddr, u16 hnum) in inet_lookup_run_bpf()
332 const __be32 saddr, __be16 sport, in __inet_lookup_listener()
[all …]
/net/tipc/
Dname_distr.h63 __be32 type;
64 __be32 lower;
65 __be32 upper;
66 __be32 port;
67 __be32 key;
/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c20 __be32 laddr, __be16 lport, struct sock *sk) in nf_tproxy_handle_time_wait4()
50 __be32 nf_tproxy_laddr4(struct sk_buff *skb, __be32 user_laddr, __be32 daddr) in nf_tproxy_laddr4()
54 __be32 laddr; in nf_tproxy_laddr4()
77 const __be32 saddr, const __be32 daddr, in nf_tproxy_get_sock_v4()
Dnf_nat_snmp_basic_main.c63 __be32 from;
64 __be32 to;
109 __be32 *pdata; in snmp_helper()
113 pdata = (__be32 *)data; in snmp_helper()
129 struct udphdr *udph = (struct udphdr *)((__be32 *)iph + iph->ihl); in snmp_translate()
167 const struct udphdr *udph = (struct udphdr *)((__be32 *)iph + iph->ihl); in help()
Dnf_socket_ipv4.c21 __be32 *raddr, __be32 *laddr, in extract_icmp4_fields()
68 const __be32 saddr, const __be32 daddr, in nf_socket_get_sock_v4()
87 __be32 daddr, saddr; in nf_sk_lookup_slow_v4()
/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c13 __be32 *p; in gssx_enc_bool()
24 __be32 *p; in gssx_dec_bool()
36 __be32 *p; in gssx_enc_buffer()
48 __be32 *p; in gssx_enc_in_token()
66 __be32 *p; in gssx_dec_buffer()
122 __be32 *p; in dummy_enc_opt_array()
140 __be32 *p; in dummy_dec_opt_array()
158 __be32 *p; in get_host_u32()
172 __be32 *p; in gssx_dec_linux_creds()
234 __be32 *p; in gssx_dec_option_array()
[all …]
/net/ipv6/ila/
Dila.h26 __be32 v32[2];
49 __be32 v32[2];
79 static inline __wsum compute_csum_diff8(const __be32 *from, const __be32 *to) in compute_csum_diff8()
81 __be32 diff[] = { in compute_csum_diff8()
/net/openvswitch/
Dflow.h59 __be32 context[NSH_MD1_CONTEXT_SIZE];
104 __be32 src; /* IP source address. */
105 __be32 dst; /* IP destination address. */
109 __be32 src;
110 __be32 dst;
123 __be32 label; /* IPv6 flow label. */
138 __be32 lse[MPLS_LABEL_DEPTH]; /* label stack entry */
Dactions.c164 __be32 mpls_lse, __be16 mpls_ethertype, __u16 mac_len) in push_mpls()
197 const __be32 *mpls_lse, const __be32 *mask) in set_mpls()
200 __be32 lse; in set_mpls()
345 __be32 addr, __be32 new_addr) in update_ip_l4_checksum()
371 __be32 *addr, __be32 new_addr) in set_ip_addr()
381 __be32 addr[4], const __be32 new_addr[4]) in update_ipv6_checksum()
407 static void mask_ipv6_addr(const __be32 old[4], const __be32 addr[4], in mask_ipv6_addr()
408 const __be32 mask[4], __be32 masked[4]) in mask_ipv6_addr()
417 __be32 addr[4], const __be32 new_addr[4], in set_ipv6_addr()
425 memcpy(addr, new_addr, sizeof(__be32[4])); in set_ipv6_addr()
[all …]
/net/sunrpc/
Dxdr.c28 __be32 *
29 xdr_encode_netobj(__be32 *p, const struct xdr_netobj *obj) in xdr_encode_netobj()
40 __be32 *
41 xdr_decode_netobj(__be32 *p, struct xdr_netobj *obj) in xdr_decode_netobj()
67 __be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes) in xdr_encode_opaque_fixed()
91 __be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes) in xdr_encode_opaque()
98 __be32 *
99 xdr_encode_string(__be32 *p, const char *string) in xdr_encode_string()
105 __be32 *
106 xdr_decode_string_inplace(__be32 *p, char **sp, in xdr_decode_string_inplace()
[all …]
/net/sunrpc/xprtrdma/
Drpc_rdma.c74 size += maxsegs * rpcrdma_readchunk_maxsz * sizeof(__be32); in rpcrdma_max_call_header_size()
77 size += sizeof(__be32); /* segment count */ in rpcrdma_max_call_header_size()
78 size += rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_call_header_size()
79 size += sizeof(__be32); /* list discriminator */ in rpcrdma_max_call_header_size()
97 size += sizeof(__be32); /* segment count */ in rpcrdma_max_reply_header_size()
98 size += maxsegs * rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_reply_header_size()
99 size += sizeof(__be32); /* list discriminator */ in rpcrdma_max_reply_header_size()
281 __be32 *p; in encode_rdma_segment()
295 __be32 *p; in encode_read_segment()
411 __be32 *segcount; in rpcrdma_encode_write_list()
[all …]
/net/netfilter/
Dxt_HMARK.c34 __be32 src;
35 __be32 dst;
40 static inline __be32 hmark_addr6_mask(const __be32 *addr32, const __be32 *mask) in hmark_addr6_mask()
48 static inline __be32
49 hmark_addr_mask(int l3num, const __be32 *addr32, const __be32 *mask) in hmark_addr_mask()

12345678910>>...13