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 | 489 struct netdev_phys_item_id ppid; in phys_port_id_show() local 491 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show() 493 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show() 548 struct netdev_phys_item_id ppid = { }; in phys_switch_id_show() local 550 ret = dev_get_port_parent_id(netdev, &ppid, false); in phys_switch_id_show() 552 ret = sprintf(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
|
D | rtnetlink.c | 1117 struct netdev_phys_item_id ppid; in rtnl_phys_port_id_fill() local 1119 err = dev_get_phys_port_id(dev, &ppid); in rtnl_phys_port_id_fill() 1126 if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id)) in rtnl_phys_port_id_fill() 1152 struct netdev_phys_item_id ppid = { }; in rtnl_phys_switch_id_fill() local 1155 err = dev_get_port_parent_id(dev, &ppid, false); in rtnl_phys_switch_id_fill() 1162 if (nla_put(skb, IFLA_PHYS_SWITCH_ID, ppid.id_len, ppid.id)) in rtnl_phys_switch_id_fill()
|
D | dev.c | 8275 struct netdev_phys_item_id *ppid) in dev_get_phys_port_id() argument 8281 return ops->ndo_get_phys_port_id(dev, ppid); in dev_get_phys_port_id() 8317 struct netdev_phys_item_id *ppid, in dev_get_port_parent_id() argument 8327 err = ops->ndo_get_port_parent_id(dev, ppid); in dev_get_port_parent_id() 8332 err = devlink_compat_switch_id_get(dev, ppid); in dev_get_port_parent_id() 8340 err = dev_get_port_parent_id(lower_dev, ppid, recurse); in dev_get_port_parent_id() 8344 first = *ppid; in dev_get_port_parent_id() 8345 else if (memcmp(&first, ppid, sizeof(*ppid))) in dev_get_port_parent_id()
|
D | devlink.c | 6437 struct netdev_phys_item_id ppid; in devlink_port_type_eth_set() local 6440 err = ops->ndo_get_port_parent_id(netdev, &ppid); in devlink_port_type_eth_set() 8121 struct netdev_phys_item_id *ppid) in devlink_compat_switch_id_get() argument 8133 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 | 428 struct netdev_phys_item_id *ppid) in dsa_slave_get_port_parent_id() argument 441 ppid->id_len = sizeof(dst->index); in dsa_slave_get_port_parent_id() 442 memcpy(&ppid->id, &dst->index, ppid->id_len); in dsa_slave_get_port_parent_id()
|
/net/ipv4/ |
D | ipmr.c | 836 struct netdev_phys_item_id ppid = { }; in vif_add() local 916 err = dev_get_port_parent_id(dev, &ppid, true); in vif_add() 918 memcpy(v->dev_parent_id.id, ppid.id, ppid.id_len); in vif_add() 919 v->dev_parent_id.id_len = ppid.id_len; in vif_add()
|