Home
last modified time | relevance | path

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

/linux/samples/bpf/
A 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()
A 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()
/linux/net/atm/
A 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()
A 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
/linux/drivers/net/ppp/
A Dpptp.c368 int sockaddr_len) in pptp_bind() argument
375 if (sockaddr_len < sizeof(struct sockaddr_pppox)) in pptp_bind()
401 int sockaddr_len, int flags) in pptp_connect() argument
411 if (sockaddr_len < sizeof(struct sockaddr_pppox)) in pptp_connect()
A Dpppoe.c610 int sockaddr_len, int flags) in pppoe_connect() argument
624 if (sockaddr_len != sizeof(struct sockaddr_pppox)) in pppoe_connect()
/linux/include/linux/
A Dnet.h143 int sockaddr_len);
146 int sockaddr_len, int flags);
/linux/net/sctp/
A Dsocket.c354 if (len < af->sockaddr_len) in sctp_sockaddr_af()
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()
731 addr_buf += af->sockaddr_len; in sctp_bindx_rem()
1026 addr_buf += af->sockaddr_len; in sctp_setsockopt_bindx()
1199 addr_buf += af->sockaddr_len; in __sctp_connect()
1200 walk_size = af->sockaddr_len; in __sctp_connect()
1686 af->sockaddr_len); in sctp_sendmsg_new_asoc()
3025 af->sockaddr_len); in sctp_setsockopt_primary_addr()
[all …]
A Dbind_addr.c443 addr_buf += af->sockaddr_len; in sctp_find_unmatch_addr()
A Dsm_make_chunk.c2887 addr_buf += af->sockaddr_len; in sctp_make_asconf_update_ip()
2918 addr_buf += af->sockaddr_len; in sctp_make_asconf_update_ip()
3117 af->sockaddr_len)) in sctp_process_asconf_param()
3189 af->sockaddr_len)) in sctp_process_asconf_param()
A Dtransport.c47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init()
A Dulpevent.c350 memcpy(&addr, &transport->ipaddr, transport->af_specific->sockaddr_len); in sctp_ulpevent_notify_peer_addr_change()
A Dipv6.c1141 .sockaddr_len = sizeof(struct sockaddr_in6),
A Dprotocol.c1189 .sockaddr_len = sizeof(struct sockaddr_in),
/linux/kernel/
A Daudit.h134 size_t sockaddr_len; member
A Dauditsc.c995 ctx->sockaddr_len = 0; in audit_reset_context()
1725 if (context->sockaddr_len) { in audit_log_exit()
1730 context->sockaddr_len); in audit_log_exit()
2671 context->sockaddr_len = len; in __audit_sockaddr()
/linux/include/net/
A Dinet_connection_sock.h47 u16 sockaddr_len; member
/linux/net/dccp/
A Dipv6.c987 .sockaddr_len = sizeof(struct sockaddr_in6),
1003 .sockaddr_len = sizeof(struct sockaddr_in6),
A Dipv4.c927 .sockaddr_len = sizeof(struct sockaddr_in),
/linux/include/net/sctp/
A Dsctp.h269 trans->af_specific->sockaddr_len); in sctp_max_rto()
A Dstructs.h485 int sockaddr_len; member
/linux/net/l2tp/
A 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()
/linux/net/ipv6/
A Dtcp_ipv6.c1916 .sockaddr_len = sizeof(struct sockaddr_in6),
1942 .sockaddr_len = sizeof(struct sockaddr_in6),
/linux/net/ipv4/
A Dtcp_ipv4.c2224 .sockaddr_len = sizeof(struct sockaddr_in),

Completed in 68 milliseconds