Searched refs:sa_addr (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/net/ppp/ |
D | pptp.c | 404 if (add_chan(po, &sp->sa_addr.pptp)) in pptp_bind() 431 if (lookup_chan_dst(sp->sa_addr.pptp.call_id, sp->sa_addr.pptp.sin_addr.s_addr)) in pptp_connect() 447 if (!opt->src_addr.sin_addr.s_addr || !sp->sa_addr.pptp.sin_addr.s_addr) { in pptp_connect() 474 opt->dst_addr = sp->sa_addr.pptp; in pptp_connect() 488 memset(&sp.sa_addr, 0, sizeof(sp.sa_addr)); in pptp_getname() 492 sp.sa_addr.pptp = pppox_sk(sock->sk)->proto.pptp.src_addr; in pptp_getname()
|
D | pppoe.c | 247 dev = dev_get_by_name_rcu(net, sp->sa_addr.pppoe.dev); in get_item_by_addr() 251 pppox_sock = get_item(pn, sp->sa_addr.pppoe.sid, in get_item_by_addr() 252 sp->sa_addr.pppoe.remote, ifindex); in get_item_by_addr() 633 stage_session(sp->sa_addr.pppoe.sid)) in pppoe_connect() 639 !stage_session(sp->sa_addr.pppoe.sid)) in pppoe_connect() 666 if (stage_session(sp->sa_addr.pppoe.sid)) { in pppoe_connect() 669 dev = dev_get_by_name(net, sp->sa_addr.pppoe.dev); in pppoe_connect() 681 &sp->sa_addr.pppoe, in pppoe_connect() 707 po->num = sp->sa_addr.pppoe.sid; in pppoe_connect() 728 memcpy(&sp.sa_addr.pppoe, &pppox_sk(sock->sk)->pppoe_pa, in pppoe_getname()
|
/linux-6.6.21/include/uapi/linux/ |
D | if_pppox.h | 71 } sa_addr; member
|
/linux-6.6.21/drivers/net/ethernet/i825xx/ |
D | ether1.h | 129 unsigned char sa_addr[6]; member
|
D | ether1.c | 453 init_sa.sa_addr[i] = dev->dev_addr[i]; in ether1_init_for_open()
|
/linux-6.6.21/net/sctp/ |
D | socket.c | 509 struct sockaddr *sa_addr; in sctp_bindx_add() local 520 sa_addr = addr_buf; in sctp_bindx_add() 521 af = sctp_get_af_specific(sa_addr->sa_family); in sctp_bindx_add() 527 retval = sctp_do_bind(sk, (union sctp_addr *)sa_addr, in sctp_bindx_add() 685 union sctp_addr *sa_addr; in sctp_bindx_rem() local 703 sa_addr = addr_buf; in sctp_bindx_rem() 704 af = sctp_get_af_specific(sa_addr->sa.sa_family); in sctp_bindx_rem() 710 if (!af->addr_valid(sa_addr, sp, NULL)) { in sctp_bindx_rem() 715 if (sa_addr->v4.sin_port && in sctp_bindx_rem() 716 sa_addr->v4.sin_port != htons(bp->port)) { in sctp_bindx_rem() [all …]
|