| /linux/net/802/ |
| H A D | fc.c | 74 static const struct header_ops fc_header_ops = { 80 dev->header_ops = &fc_header_ops; in fc_setup()
|
| H A D | fddi.c | 140 static const struct header_ops fddi_header_ops = { 147 dev->header_ops = &fddi_header_ops; in fddi_setup()
|
| /linux/include/linux/ |
| H A D | if_phonet.h | 14 extern const struct header_ops phonet_header_ops;
|
| H A D | netdevice.h | 310 struct header_ops { struct 2138 const struct header_ops *header_ops; member 3472 if (!dev->header_ops || !dev->header_ops->create) in dev_hard_header() 3475 return dev->header_ops->create(skb, dev, type, daddr, saddr, len); in dev_hard_header() 3483 if (!dev->header_ops || !dev->header_ops->parse) in dev_parse_header() 3485 return dev->header_ops->parse(skb, dev, haddr); in dev_parse_header() 3492 if (!dev->header_ops || !dev->header_ops->parse_protocol) in dev_parse_header_protocol() 3494 return dev->header_ops->parse_protocol(skb); in dev_parse_header_protocol() 3511 if (dev->header_ops && dev->header_ops->validate) in dev_validate_header() 3512 return dev->header_ops->validate(ll_header, len); in dev_validate_header() [all …]
|
| H A D | etherdevice.h | 41 extern const struct header_ops eth_header_ops;
|
| /linux/net/ieee802154/6lowpan/ |
| H A D | core.c | 59 static const struct header_ops lowpan_header_ops = { 118 ldev->header_ops = &lowpan_header_ops; in lowpan_setup()
|
| /linux/drivers/net/ |
| H A D | loopback.c | 164 const struct header_ops *hdr_ops, in gen_lo_setup() 188 dev->header_ops = hdr_ops; in gen_lo_setup()
|
| /linux/net/ieee802154/ |
| H A D | Makefile | 7 header_ops.o sysfs.o nl802154.o trace.o pan.o
|
| /linux/drivers/net/wan/ |
| H A D | hdlc.c | 222 static const struct header_ops hdlc_null_ops; 238 dev->header_ops = &hdlc_null_ops; in hdlc_setup_dev()
|
| H A D | hdlc_cisco.c | 305 static const struct header_ops cisco_header_ops = { 356 dev->header_ops = &cisco_header_ops; in cisco_ioctl()
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 61 struct header_ops* header_ops read_mostly …
|
| /linux/include/net/ |
| H A D | cfg802154.h | 479 const struct wpan_dev_header_ops *header_ops; member 525 return wpan_dev->header_ops->create(skb, dev, daddr, saddr, len); in wpan_dev_hard_header()
|
| /linux/net/ethernet/ |
| H A D | eth.c | 328 const struct header_ops eth_header_ops ____cacheline_aligned = { 344 dev->header_ops = ð_header_ops; in ether_setup()
|
| /linux/net/mac802154/ |
| H A D | iface.c | 491 static const struct header_ops mac802154_header_ops = { 580 sdata->dev->header_ops = &mac802154_header_ops; in ieee802154_setup_sdata() 586 wpan_dev->header_ops = &ieee802154_header_ops; in ieee802154_setup_sdata()
|
| /linux/net/ipv4/ |
| H A D | ip_gre.c | 111 static const struct header_ops ipgre_header_ops; 387 if (tunnel->dev->header_ops == &ipgre_header_ops) in __ipgre_rcv() 666 if (dev->header_ops) { in ipgre_xmit() 798 if (dev->header_ops) in ipgre_link_update() 931 static const struct header_ops ipgre_header_ops = { 1056 dev->header_ops = &ipgre_header_ops; in ipgre_tunnel_init() 1062 dev->header_ops = &ipgre_header_ops; in ipgre_tunnel_init()
|
| /linux/net/8021q/ |
| H A D | vlan_dev.c | 493 static const struct header_ops vlan_header_ops = { 513 static const struct header_ops vlan_passthru_header_ops = { 579 dev->header_ops = &vlan_passthru_header_ops; in vlan_dev_init() 582 dev->header_ops = &vlan_header_ops; in vlan_dev_init()
|
| /linux/net/bluetooth/ |
| H A D | 6lowpan.c | 567 static const struct header_ops header_ops = { variable 580 dev->header_ops = &header_ops; in netdev_setup()
|
| /linux/drivers/net/team/ |
| H A D | team_core.c | 2243 const struct header_ops *port_ops; in team_header_create() 2250 port_ops = READ_ONCE(port->dev->header_ops); in team_header_create() 2264 const struct header_ops *port_ops; in team_header_parse() 2271 port_ops = READ_ONCE(port->dev->header_ops); in team_header_parse() 2279 static const struct header_ops team_header_ops = { 2290 dev->header_ops = team->header_ops_cache; in team_setup_by_port() 2292 dev->header_ops = port_dev->header_ops ? in team_setup_by_port() 2344 team->header_ops_cache = dev->header_ops; in team_setup()
|
| /linux/drivers/net/mctp/ |
| H A D | mctp-i3c.c | 531 static const struct header_ops mctp_i3c_headops = { 548 dev->header_ops = &mctp_i3c_headops; in mctp_i3c_net_setup()
|
| H A D | mctp-i2c.c | 718 static const struct header_ops mctp_i2c_headops = { 739 dev->header_ops = &mctp_i2c_headops; in mctp_i2c_net_setup()
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_wwan.c | 148 iosm_dev->header_ops = NULL; in ipc_wwan_setup()
|
| /linux/net/mpls/ |
| H A D | mpls_iptunnel.c | 105 if (!out_dev->header_ops) in mpls_xmit()
|
| /linux/net/hsr/ |
| H A D | hsr_device.c | 247 static const struct header_ops hsr_header_ops = { 648 dev->header_ops = &hsr_header_ops; in hsr_dev_setup()
|
| /linux/drivers/net/usb/ |
| H A D | qmi_wwan.c | 128 dev->header_ops = NULL; /* No header */ in qmimux_setup() 312 net->header_ops = NULL; /* No header */ in qmi_wwan_netdev_setup() 319 } else if (!net->header_ops) { /* don't bother if already set */ in qmi_wwan_netdev_setup()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_vnd.c | 281 rmnet_dev->header_ops = NULL; /* No header */ in rmnet_vnd_setup()
|