Home
last modified time | relevance | path

Searched defs:prot (Results 1 – 25 of 30) sorted by relevance

12

/net/ipv4/
Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol()
39 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload()
46 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol()
59 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
Dudp_bpf.c114 static void udp_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in udp_bpf_rebuild_protos()
Daf_inet.c580 const struct proto *prot; in inet_dgram_connect() local
866 const struct proto *prot; in inet_splice_eof() local
Dtcp_bpf.c695 struct proto *prot = newsk->sk_prot; in tcp_bpf_clone() local
Droute.c513 int oif, __u8 tos, u8 prot, u32 mark, in __build_flow_key()
538 u8 prot = iph->protocol; in build_skb_flow_key() local
831 u8 prot = iph->protocol; in ip_do_redirect() local
/net/ipv6/
Dprotocol.c28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol()
35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol()
52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload()
59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload()
Daf_inet6.c450 const struct proto *prot; in inet6_bind_sk() local
574 const struct proto *prot; in inet6_ioctl() local
658 const struct proto *prot; in inet6_sendmsg() local
675 const struct proto *prot; in inet6_recvmsg() local
Dipv6_sockglue.c481 struct proto *prot = &udp_prot; in do_ipv6_setsockopt() local
/net/tls/
Dtls_sw.c157 static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb, in tls_padding_length()
261 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_decryption() local
310 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_trim_both_msgs() local
333 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_clone_plaintext_msg() local
357 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_get_rec() local
470 struct tls_prot_info *prot; in tls_encrypt_done() local
539 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_encryption() local
728 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_record() local
1010 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_sw_sendmsg_locked() local
1467 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_decrypt_sg() local
[all …]
Dtls.h304 tls_advance_record_sn(struct sock *sk, struct tls_prot_info *prot, in tls_advance_record_sn()
317 tls_xor_iv_with_seq(struct tls_prot_info *prot, char *iv, char *seq) in tls_xor_iv_with_seq()
332 struct tls_prot_info *prot = &ctx->prot_info; in tls_fill_prepend() local
359 unsigned char record_type, struct tls_prot_info *prot) in tls_make_aad()
Dtls_device.c289 struct tls_prot_info *prot = &ctx->prot_info; in tls_push_record() local
323 struct tls_prot_info *prot = &ctx->prot_info; in tls_device_record_close() local
430 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_push_data() local
777 struct tls_prot_info *prot; in tls_device_rx_resync_new_rec() local
872 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_device_core_ctrl_rx_resync() local
1048 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_set_device_offload() local
Dtls_device_fallback.c55 struct tls_prot_info *prot) in tls_enc_record()
155 u64 rcd_sn, int len, struct tls_prot_info *prot) in tls_enc_records()
Dtls_main.c868 struct proto *prot = READ_ONCE(sk->sk_prot); in tls_build_proto() local
/net/core/
Dsock.c2062 const struct proto *prot = READ_ONCE(osk->sk_prot); in sock_copy() local
2087 static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority, in sk_prot_alloc()
2123 static void sk_prot_free(struct proto *prot, struct sock *sk) in sk_prot_free()
2151 struct proto *prot, int kern) in sk_alloc()
2302 struct proto *prot = READ_ONCE(sk->sk_prot); in sk_clone_lock() local
3060 struct proto *prot = sk->sk_prot; in __sk_mem_raise_allocated() local
3784 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
3836 static int assign_proto_idx(struct proto *prot) in assign_proto_idx()
3849 static void release_proto_idx(struct proto *prot) in release_proto_idx()
3855 static inline int assign_proto_idx(struct proto *prot) in assign_proto_idx()
[all …]
/net/unix/
Dunix_bpf.c105 static void unix_dgram_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in unix_dgram_bpf_rebuild_protos()
113 static void unix_stream_bpf_rebuild_protos(struct proto *prot, in unix_stream_bpf_rebuild_protos()
Daf_unix.c2440 const struct proto *prot = READ_ONCE(sk->sk_prot); in unix_dgram_recvmsg() local
2907 const struct proto *prot = READ_ONCE(sk->sk_prot); in unix_stream_recvmsg() local
2972 const struct proto *prot = READ_ONCE(other->sk_prot); in unix_shutdown() local
/net/dsa/
Dtag_rtl4_a.c76 u8 prot; in rtl4a_tag_rcv() local
/net/vmw_vsock/
Dvsock_bpf.c125 static void vsock_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in vsock_bpf_rebuild_protos()
Daf_vsock.c1287 const struct proto *prot; in vsock_dgram_recvmsg() local
2202 const struct proto *prot; in vsock_connectible_recvmsg() local
/net/smc/
Dsmc_diag.c191 static int smc_diag_dump_proto(struct proto *prot, struct sk_buff *skb, in smc_diag_dump_proto()
/net/bluetooth/
Daf_bluetooth.c144 struct proto *prot, int proto, gfp_t prio, int kern) in bt_sock_alloc()
/net/atm/
Dbr2684.c229 unsigned short prot = ntohs(skb->protocol); in br2684_xmit_vcc() local
/net/llc/
Dllc_conn.c930 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern) in llc_sk_alloc()
/net/caif/
Dcaif_socket.c1021 static struct proto prot = {.name = "PF_CAIF", in caif_create() local
/net/sunrpc/
Drpcb_clnt.c454 int rpcb_register(struct net *net, u32 prog, u32 vers, int prot, unsigned short port) in rpcb_register()

12