Searched refs:ppid (Results 1 – 11 of 11) sorted by relevance
/net/bridge/ |
D | br_switchdev.c | 26 struct netdev_phys_item_id ppid = { }; in nbp_switchdev_mark_set() local 31 err = dev_get_port_parent_id(p->dev, &ppid, true); in nbp_switchdev_mark_set()
|
/net/core/ |
D | net-sysfs.c | 455 struct netdev_phys_item_id ppid; in phys_port_id_show() local 457 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show() 459 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show() 499 struct netdev_phys_item_id ppid = { }; in phys_switch_id_show() local 501 ret = dev_get_port_parent_id(netdev, &ppid, false); in phys_switch_id_show() 503 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
|
D | rtnetlink.c | 1114 struct netdev_phys_item_id ppid; in rtnl_phys_port_id_fill() local 1116 err = dev_get_phys_port_id(dev, &ppid); in rtnl_phys_port_id_fill() 1123 if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id)) in rtnl_phys_port_id_fill() 1149 struct netdev_phys_item_id ppid = { }; in rtnl_phys_switch_id_fill() local 1152 err = dev_get_port_parent_id(dev, &ppid, false); in rtnl_phys_switch_id_fill() 1159 if (nla_put(skb, IFLA_PHYS_SWITCH_ID, ppid.id_len, ppid.id)) in rtnl_phys_switch_id_fill()
|
D | dev.c | 8178 struct netdev_phys_item_id *ppid) in dev_get_phys_port_id() argument 8184 return ops->ndo_get_phys_port_id(dev, ppid); in dev_get_phys_port_id() 8220 struct netdev_phys_item_id *ppid, in dev_get_port_parent_id() argument 8230 err = ops->ndo_get_port_parent_id(dev, ppid); in dev_get_port_parent_id() 8235 err = devlink_compat_switch_id_get(dev, ppid); in dev_get_port_parent_id() 8243 err = dev_get_port_parent_id(lower_dev, ppid, recurse); in dev_get_port_parent_id() 8247 first = *ppid; in dev_get_port_parent_id() 8248 else if (memcmp(&first, ppid, sizeof(*ppid))) in dev_get_port_parent_id()
|
D | devlink.c | 6405 struct netdev_phys_item_id ppid; in devlink_port_type_eth_set() local 6408 err = ops->ndo_get_port_parent_id(netdev, &ppid); in devlink_port_type_eth_set() 8089 struct netdev_phys_item_id *ppid) in devlink_compat_switch_id_get() argument 8101 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid)); in devlink_compat_switch_id_get()
|
/net/sctp/ |
D | ulpevent.c | 940 sinfo.sinfo_ppid = event->ppid; in sctp_ulpevent_read_sndrcvinfo() 968 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo() 990 nxtinfo.nxt_ppid = event->ppid; in __sctp_ulpevent_read_nxtinfo()
|
D | ulpqueue.c | 98 event->ppid = chunk->subh.data_hdr->ppid; in sctp_ulpq_tail_data()
|
D | stream_interleave.c | 70 hdr->ppid = lchunk->sinfo.sinfo_ppid; in sctp_chunk_assign_mid() 841 event->ppid = chunk->subh.idata_hdr->ppid; in sctp_ulpevent_idata()
|
D | sm_make_chunk.c | 733 dp.ppid = sinfo->sinfo_ppid; in sctp_make_datafrag_empty()
|
/net/dsa/ |
D | slave.c | 432 struct netdev_phys_item_id *ppid) in dsa_slave_get_port_parent_id() argument 445 ppid->id_len = sizeof(dst->index); in dsa_slave_get_port_parent_id() 446 memcpy(&ppid->id, &dst->index, ppid->id_len); in dsa_slave_get_port_parent_id()
|
/net/ipv4/ |
D | ipmr.c | 834 struct netdev_phys_item_id ppid = { }; in vif_add() local 914 err = dev_get_port_parent_id(dev, &ppid, true); in vif_add() 916 memcpy(v->dev_parent_id.id, ppid.id, ppid.id_len); in vif_add() 917 v->dev_parent_id.id_len = ppid.id_len; in vif_add()
|