Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ppp/
A 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()
A 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-6.3-rc2/include/uapi/linux/
A Dif_pppox.h71 } sa_addr; member
/linux-6.3-rc2/drivers/net/ethernet/i825xx/
A Dether1.h129 unsigned char sa_addr[6]; member
A Dether1.c453 init_sa.sa_addr[i] = dev->dev_addr[i]; in ether1_init_for_open()
/linux-6.3-rc2/net/sctp/
A Dsocket.c509 struct sockaddr *sa_addr; in sctp_bindx_add() local
520 sa_addr = addr_buf; in sctp_bindx_add()
685 union sctp_addr *sa_addr; in sctp_bindx_rem() local
703 sa_addr = addr_buf; 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()
721 if (!sa_addr->v4.sin_port) in sctp_bindx_rem()
722 sa_addr->v4.sin_port = htons(bp->port); in sctp_bindx_rem()
731 retval = sctp_del_bind_addr(bp, sa_addr); in sctp_bindx_rem()
1004 struct sockaddr *sa_addr; in sctp_setsockopt_bindx() local
[all …]

Completed in 60 milliseconds