/linux/samples/bpf/ |
A D | test_probe_write_user_user.c | 19 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 D | test_probe_write_user_kern.c | 36 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 D | pvc.c | 28 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 D | svc.c | 96 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 D | pptp.c | 368 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 D | pppoe.c | 610 int sockaddr_len, int flags) in pppoe_connect() argument 624 if (sockaddr_len != sizeof(struct sockaddr_pppox)) in pppoe_connect()
|
/linux/include/linux/ |
A D | net.h | 143 int sockaddr_len); 146 int sockaddr_len, int flags);
|
/linux/net/sctp/ |
A D | socket.c | 354 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 D | bind_addr.c | 443 addr_buf += af->sockaddr_len; in sctp_find_unmatch_addr()
|
A D | sm_make_chunk.c | 2887 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 D | transport.c | 47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init()
|
A D | ulpevent.c | 350 memcpy(&addr, &transport->ipaddr, transport->af_specific->sockaddr_len); in sctp_ulpevent_notify_peer_addr_change()
|
A D | ipv6.c | 1141 .sockaddr_len = sizeof(struct sockaddr_in6),
|
A D | protocol.c | 1189 .sockaddr_len = sizeof(struct sockaddr_in),
|
/linux/kernel/ |
A D | audit.h | 134 size_t sockaddr_len; member
|
A D | auditsc.c | 995 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 D | inet_connection_sock.h | 47 u16 sockaddr_len; member
|
/linux/net/dccp/ |
A D | ipv6.c | 987 .sockaddr_len = sizeof(struct sockaddr_in6), 1003 .sockaddr_len = sizeof(struct sockaddr_in6),
|
A D | ipv4.c | 927 .sockaddr_len = sizeof(struct sockaddr_in),
|
/linux/include/net/sctp/ |
A D | sctp.h | 269 trans->af_specific->sockaddr_len); in sctp_max_rto()
|
A D | structs.h | 485 int sockaddr_len; member
|
/linux/net/l2tp/ |
A D | l2tp_ppp.c | 657 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 D | tcp_ipv6.c | 1916 .sockaddr_len = sizeof(struct sockaddr_in6), 1942 .sockaddr_len = sizeof(struct sockaddr_in6),
|
/linux/net/ipv4/ |
A D | tcp_ipv4.c | 2224 .sockaddr_len = sizeof(struct sockaddr_in),
|