Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/samples/bpf/
Dtest_probe_write_user_user.c19 socklen_t sockaddr_len; in main() local
70 sockaddr_len = sizeof(serv_addr); in main()
71 assert(getsockname(serverfd, &serv_addr, &sockaddr_len) == 0); in main()
89 sockaddr_len = sizeof(tmp_addr); in main()
91 assert((serverconnfd = accept(serverfd, &tmp_addr, &sockaddr_len)) > 0); in main()
95 sockaddr_len = sizeof(tmp_addr); in main()
96 assert(getpeername(clientfd, &tmp_addr, &sockaddr_len) == 0); in main()
Dtest_probe_write_user_kern.c36 int sockaddr_len = (int)PT_REGS_PARM3_CORE(real_regs); in SYSCALL() local
40 if (sockaddr_len > sizeof(orig_addr)) in SYSCALL()
/kernel/linux/linux-5.10/net/atm/
Dpvc.c28 int sockaddr_len) in pvc_bind() argument
35 if (sockaddr_len != sizeof(struct sockaddr_atmpvc)) in pvc_bind()
60 int sockaddr_len, int flags) in pvc_connect() argument
62 return pvc_bind(sock, sockaddr, sockaddr_len); in pvc_connect()
Dsvc.c96 int sockaddr_len) in svc_bind() argument
104 if (sockaddr_len != sizeof(struct sockaddr_atmsvc)) in svc_bind()
152 int sockaddr_len, int flags) in svc_connect() argument
162 if (sockaddr_len != sizeof(struct sockaddr_atmsvc)) { in svc_connect()
527 int sockaddr_len, int flags) in svc_addparty() argument
/kernel/linux/linux-5.10/drivers/net/ppp/
Dpptp.c370 int sockaddr_len) in pptp_bind() argument
377 if (sockaddr_len < sizeof(struct sockaddr_pppox)) in pptp_bind()
403 int sockaddr_len, int flags) in pptp_connect() argument
413 if (sockaddr_len < sizeof(struct sockaddr_pppox)) in pptp_connect()
Dpppoe.c610 int sockaddr_len, int flags) in pppoe_connect() argument
624 if (sockaddr_len != sizeof(struct sockaddr_pppox)) in pppoe_connect()
/kernel/linux/linux-5.10/include/linux/
Dnet.h143 int sockaddr_len);
146 int sockaddr_len, int flags);
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c276 if (!af || sctp_verify_addr(sk, laddr, af->sockaddr_len)) in sctp_addr_id2transport()
354 if (len < af->sockaddr_len) in sctp_sockaddr_af()
441 ret = sctp_add_bind_addr(bp, addr, af->sockaddr_len, in sctp_do_bind()
526 af->sockaddr_len); in sctp_bindx_add()
528 addr_buf += af->sockaddr_len; in sctp_bindx_add()
606 addr_buf += af->sockaddr_len; in sctp_send_asconf_add_ip()
631 memcpy(&saveaddr, addr, af->sockaddr_len); in sctp_send_asconf_add_ip()
635 addr_buf += af->sockaddr_len; in sctp_send_asconf_add_ip()
731 addr_buf += af->sockaddr_len; in sctp_bindx_rem()
810 addr_buf += af->sockaddr_len; in sctp_send_asconf_del_ip()
[all …]
Dbind_addr.c449 addr_buf += af->sockaddr_len; in sctp_find_unmatch_addr()
Dtransport.c47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init()
Dsm_make_chunk.c2841 addr_buf += af->sockaddr_len; in sctp_make_asconf_update_ip()
2872 addr_buf += af->sockaddr_len; in sctp_make_asconf_update_ip()
3071 af->sockaddr_len)) in sctp_process_asconf_param()
3143 af->sockaddr_len)) in sctp_process_asconf_param()
Dulpevent.c350 memcpy(&addr, &transport->ipaddr, transport->af_specific->sockaddr_len); in sctp_ulpevent_notify_peer_addr_change()
Dipv6.c1092 .sockaddr_len = sizeof(struct sockaddr_in6),
Dprotocol.c1096 .sockaddr_len = sizeof(struct sockaddr_in),
/kernel/linux/linux-5.10/kernel/
Daudit.h125 size_t sockaddr_len; member
Dauditsc.c1602 if (context->sockaddr_len) { in audit_log_exit()
1607 context->sockaddr_len); in audit_log_exit()
1808 context->sockaddr_len = 0; in __audit_syscall_exit()
2456 context->sockaddr_len = len; in __audit_sockaddr()
/kernel/linux/linux-5.10/include/net/
Dinet_connection_sock.h47 u16 sockaddr_len; member
/kernel/linux/linux-5.10/net/dccp/
Dipv6.c979 .sockaddr_len = sizeof(struct sockaddr_in6),
995 .sockaddr_len = sizeof(struct sockaddr_in6),
Dipv4.c919 .sockaddr_len = sizeof(struct sockaddr_in),
/kernel/linux/linux-5.10/include/net/sctp/
Dsctp.h266 trans->af_specific->sockaddr_len); in sctp_max_rto()
Dstructs.h480 int sockaddr_len; member
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ppp.c657 int sockaddr_len, int flags) in pppol2tp_connect() argument
672 error = pppol2tp_sockaddr_get_info(uservaddr, sockaddr_len, &info); in pppol2tp_connect()
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c1888 .sockaddr_len = sizeof(struct sockaddr_in6),
1914 .sockaddr_len = sizeof(struct sockaddr_in6),
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip.c950 .sockaddr_len = sizeof(struct sockaddr_nin),
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c2188 .sockaddr_len = sizeof(struct sockaddr_in),