Home
last modified time | relevance | path

Searched refs:source_port (Results 1 – 8 of 8) sorted by relevance

/net/dsa/
Dtag_sja1105.c83 u64 source_port; member
105 packing(buf + 6, &meta->source_port, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
460 static void sja1105_vlan_rcv(struct sk_buff *skb, int *source_port, in sja1105_vlan_rcv() argument
472 return dsa_8021q_rcv(skb, source_port, switch_id); in sja1105_vlan_rcv()
481 int source_port = -1, switch_id = -1; in sja1105_rcv() local
494 sja1105_vlan_rcv(skb, &source_port, &switch_id, &vid); in sja1105_rcv()
500 source_port = hdr->h_dest[3]; in sja1105_rcv()
507 source_port = meta.source_port; in sja1105_rcv()
513 if (source_port == -1 || switch_id == -1) in sja1105_rcv()
516 skb->dev = dsa_master_find_slave(netdev, switch_id, source_port); in sja1105_rcv()
[all …]
Dtag_xrs700x.c30 int source_port; in xrs700x_rcv() local
35 source_port = ffs((int)trailer[0]) - 1; in xrs700x_rcv()
37 if (source_port < 0) in xrs700x_rcv()
40 skb->dev = dsa_master_find_slave(dev, 0, source_port); in xrs700x_rcv()
Dtag_brcm.c142 int source_port; in brcm_tag_rcv_ll() local
161 source_port = brcm_tag[3] & BRCM_EG_PID_MASK; in brcm_tag_rcv_ll()
163 skb->dev = dsa_master_find_slave(dev, 0, source_port); in brcm_tag_rcv_ll()
253 int source_port; in brcm_leg_tag_rcv() local
261 source_port = brcm_tag[5] & BRCM_LEG_PORT_ID; in brcm_leg_tag_rcv()
263 skb->dev = dsa_master_find_slave(dev, 0, source_port); in brcm_leg_tag_rcv()
Dtag_trailer.c30 int source_port; in trailer_rcv() local
40 source_port = trailer[1] & 7; in trailer_rcv()
42 skb->dev = dsa_master_find_slave(dev, 0, source_port); in trailer_rcv()
Dtag_lan9303.c81 unsigned int source_port; in lan9303_rcv() local
98 source_port = lan9303_tag1 & 0x3; in lan9303_rcv()
100 skb->dev = dsa_master_find_slave(dev, 0, source_port); in lan9303_rcv()
Dtag_dsa.c192 int source_device, source_port; in dsa_rcv_ll() local
244 source_port = (dsa_header[1] >> 3) & 0x1f; in dsa_rcv_ll()
253 skb->dev = dsa_lag_dev(cpu_dp->dst, source_port); in dsa_rcv_ll()
256 source_port); in dsa_rcv_ll()
Dtag_8021q.c585 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id) in dsa_8021q_rcv() argument
600 *source_port = dsa_8021q_rx_source_port(vid); in dsa_8021q_rcv()
/net/sctp/
Doutput.c150 packet->source_port = sport; in sctp_packet_init()
607 sh->source = htons(packet->source_port); in sctp_packet_transmit()