Home
last modified time | relevance | path

Searched refs:sa_addr (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ppp/
Dpptp.c390 if (add_chan(po, &sp->sa_addr.pptp)) in pptp_bind()
417 if (lookup_chan_dst(sp->sa_addr.pptp.call_id, sp->sa_addr.pptp.sin_addr.s_addr)) in pptp_connect()
433 if (!opt->src_addr.sin_addr.s_addr || !sp->sa_addr.pptp.sin_addr.s_addr) { in pptp_connect()
465 opt->dst_addr = sp->sa_addr.pptp; in pptp_connect()
479 memset(&sp.sa_addr, 0, sizeof(sp.sa_addr)); in pptp_getname()
483 sp.sa_addr.pptp = pppox_sk(sock->sk)->proto.pptp.src_addr; in pptp_getname()
Dpppoe.c247 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-5.19.10/include/uapi/linux/
Dif_pppox.h71 } sa_addr; member
/linux-5.19.10/drivers/net/ethernet/i825xx/
Dether1.h129 unsigned char sa_addr[6]; member
Dether1.c453 init_sa.sa_addr[i] = dev->dev_addr[i]; in ether1_init_for_open()
/linux-5.19.10/net/sctp/
Dsocket.c507 struct sockaddr *sa_addr; in sctp_bindx_add() local
518 sa_addr = addr_buf; in sctp_bindx_add()
519 af = sctp_get_af_specific(sa_addr->sa_family); in sctp_bindx_add()
525 retval = sctp_do_bind(sk, (union sctp_addr *)sa_addr, in sctp_bindx_add()
683 union sctp_addr *sa_addr; in sctp_bindx_rem() local
701 sa_addr = addr_buf; in sctp_bindx_rem()
702 af = sctp_get_af_specific(sa_addr->sa.sa_family); in sctp_bindx_rem()
708 if (!af->addr_valid(sa_addr, sp, NULL)) { in sctp_bindx_rem()
713 if (sa_addr->v4.sin_port && in sctp_bindx_rem()
714 sa_addr->v4.sin_port != htons(bp->port)) { in sctp_bindx_rem()
[all …]