Home
last modified time | relevance | path

Searched refs:header_ops (Results 1 – 64 of 64) sorted by relevance

/linux-4.4.14/net/802/
Dfc.c78 static const struct header_ops fc_header_ops = {
84 dev->header_ops = &fc_header_ops; in fc_setup()
Dhippi.c160 static const struct header_ops hippi_header_ops = {
167 dev->header_ops = &hippi_header_ops; in hippi_setup()
Dfddi.c153 static const struct header_ops fddi_header_ops = {
160 dev->header_ops = &fddi_header_ops; in fddi_setup()
/linux-4.4.14/net/rose/
Drose_dev.c121 static const struct header_ops rose_header_ops = {
137 dev->header_ops = &rose_header_ops; in rose_setup()
/linux-4.4.14/include/linux/
Dif_phonet.h13 extern struct header_ops phonet_header_ops;
Dnetdevice.h259 struct header_ops { struct
1606 const struct header_ops *header_ops; member
2480 if (!dev->header_ops || !dev->header_ops->create) in dev_hard_header()
2483 return dev->header_ops->create(skb, dev, type, daddr, saddr, len); in dev_hard_header()
2491 if (!dev->header_ops || !dev->header_ops->parse) in dev_parse_header()
2493 return dev->header_ops->parse(skb, haddr); in dev_parse_header()
2508 if (dev->header_ops && dev->header_ops->validate) in dev_validate_header()
2509 return dev->header_ops->validate(ll_header, len); in dev_validate_header()
Detherdevice.h34 extern const struct header_ops eth_header_ops;
/linux-4.4.14/net/netrom/
Dnr_dev.c159 static const struct header_ops nr_header_ops = {
174 dev->header_ops = &nr_header_ops; in nr_setup()
/linux-4.4.14/net/ieee802154/6lowpan/
Dcore.c57 static struct header_ops lowpan_header_ops = {
110 ldev->header_ops = &lowpan_header_ops; in lowpan_setup()
/linux-4.4.14/net/ieee802154/
DMakefile6 header_ops.o sysfs.o nl802154.o trace.o
/linux-4.4.14/arch/um/drivers/
Dslip_kern.c34 dev->header_ops = NULL; in slip_init()
Dslirp_kern.c36 dev->header_ops = NULL; in slirp_init()
/linux-4.4.14/drivers/net/wan/
Dhdlc.c230 static const struct header_ops hdlc_null_ops;
243 dev->header_ops = &hdlc_null_ops; in hdlc_setup_dev()
Dhdlc_cisco.c329 static const struct header_ops cisco_header_ops = {
379 dev->header_ops = &cisco_header_ops; in cisco_ioctl()
Ddlci.c459 static const struct header_ops dlci_header_ops = {
476 dev->header_ops = &dlci_header_ops; in dlci_setup()
Dhdlc_ppp.c645 static const struct header_ops ppp_header_ops = {
688 dev->header_ops = &ppp_header_ops; in ppp_ioctl()
/linux-4.4.14/include/net/
Dcfg802154.h329 const struct wpan_dev_header_ops *header_ops; member
369 return wpan_dev->header_ops->create(skb, dev, daddr, saddr, len); in wpan_dev_hard_header()
Dax25.h385 extern const struct header_ops ax25_header_ops;
/linux-4.4.14/net/ethernet/
Deth.c338 const struct header_ops eth_header_ops ____cacheline_aligned = {
353 dev->header_ops = &eth_header_ops; in ether_setup()
/linux-4.4.14/net/8021q/
Dvlan_dev.c502 static const struct header_ops vlan_header_ops = {
521 static const struct header_ops vlan_passthru_header_ops = {
573 dev->header_ops = &vlan_passthru_header_ops; in vlan_dev_init()
576 dev->header_ops = &vlan_header_ops; in vlan_dev_init()
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap.h33 extern const struct header_ops hostap_80211_ops;
Dhostap_main.c799 const struct header_ops hostap_80211_ops = {
871 dev->header_ops = &hostap_80211_ops; in hostap_setup_dev()
Dhostap_hw.c3239 dev->header_ops = &hostap_80211_ops; in prism2_init_local_data()
/linux-4.4.14/drivers/net/
Dloopback.c185 dev->header_ops = &eth_header_ops; in loopback_setup()
Dmacvlan.c553 static const struct header_ops macvlan_hard_header_ops = {
1064 dev->header_ops = &macvlan_hard_header_ops; in macvlan_common_setup()
Dvrf.c525 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in vrf_finish_output()
/linux-4.4.14/net/hsr/
Dhsr_device.c248 static const struct header_ops hsr_header_ops = {
392 dev->header_ops = &hsr_header_ops; in hsr_dev_setup()
/linux-4.4.14/net/mac802154/
Diface.c505 static const struct header_ops mac802154_header_ops = {
595 sdata->dev->header_ops = &mac802154_header_ops; in ieee802154_setup_sdata()
600 wpan_dev->header_ops = &ieee802154_header_ops; in ieee802154_setup_sdata()
/linux-4.4.14/net/ax25/
Dax25_ip.c245 const struct header_ops ax25_header_ops = {
/linux-4.4.14/net/mpls/
Dmpls_iptunnel.c86 if (!out_dev->header_ops) in mpls_output()
Daf_mpls.c293 if (!out_dev->header_ops) in mpls_forward()
/linux-4.4.14/net/bluetooth/
D6lowpan.c653 static struct header_ops header_ops = { variable
666 dev->header_ops = &header_ops; in netdev_setup()
/linux-4.4.14/net/ipv4/
Dip_gre.c612 if (dev->header_ops) { in ipgre_xmit()
762 static const struct header_ops ipgre_header_ops = {
884 dev->header_ops = &ipgre_header_ops; in ipgre_tunnel_init()
888 dev->header_ops = &ipgre_header_ops; in ipgre_tunnel_init()
Darp.c245 if (!dev->header_ops) { in arp_constructor()
277 if (dev->header_ops->cache) in arp_constructor()
Dip_output.c190 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in ip_finish_output2()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_main.c342 static const struct header_ops ipvlan_header_ops = {
526 dev->header_ops = &ipvlan_header_ops; in ipvlan_link_setup()
/linux-4.4.14/drivers/net/hamradio/
Dbpqether.c488 dev->header_ops = &ax25_header_ops; in bpq_setup()
Dmkiss.c655 dev->header_ops = &ax25_header_ops; in ax_setup()
D6pack.c317 dev->header_ops = &ax25_header_ops; in sp_setup()
Dhdlcdrv.c679 dev->header_ops = &ax25_header_ops; in hdlcdrv_setup()
Dyam.c1131 dev->header_ops = &ax25_header_ops; in yam_setup()
Dbaycom_epp.c1149 dev->header_ops = &ax25_header_ops; in baycom_probe()
Ddmascc.c583 dev->header_ops = &ax25_header_ops; in setup_adapter()
Dscc.c1562 dev->header_ops = &ax25_header_ops; in scc_net_setup()
/linux-4.4.14/Documentation/networking/
Dieee802154.txt59 the skb->cb is used to provide additional data to device's header_ops->create
/linux-4.4.14/drivers/net/usb/
Dcdc-phonet.c300 dev->header_ops = &phonet_header_ops; in usbpn_setup()
/linux-4.4.14/net/phonet/
Daf_phonet.c152 struct header_ops phonet_header_ops = {
/linux-4.4.14/net/sched/
Dsch_teql.c268 if (!dev->header_ops || !dst) in teql_resolve()
/linux-4.4.14/drivers/net/arcnet/
Darcnet.c355 static const struct header_ops arcnet_header_ops = {
371 dev->header_ops = &arcnet_header_ops; in arcdev_setup()
/linux-4.4.14/drivers/net/plip/
Dplip.c263 static const struct header_ops plip_header_ops = {
298 dev->header_ops = &plip_header_ops; in plip_init_netdev()
/linux-4.4.14/net/ipv6/
Dndisc.c325 if (!dev->header_ops) { in ndisc_constructor()
342 if (dev->header_ops->cache) in ndisc_constructor()
862 if (neigh || !dev->header_ops) { in ndisc_recv_ns()
Dip6_gre.c627 if (dev->header_ops && dev->type == ARPHRD_IP6GRE) { in ip6gre_xmit2()
1207 static const struct header_ops ip6gre_header_ops = {
1288 dev->header_ops = &ip6gre_header_ops; in ip6gre_tunnel_init()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_net.c1189 static const struct header_ops dvb_header_ops = {
1209 dev->header_ops = &dvb_header_ops;
/linux-4.4.14/drivers/isdn/i4l/
Disdn_net.c1974 static const struct header_ops isdn_header_ops = {
2505 dev->header_ops = NULL; in _isdn_setup()
2841 p->dev->header_ops = NULL; in isdn_net_setcfg()
2844 p->dev->header_ops = &isdn_header_ops; in isdn_net_setcfg()
/linux-4.4.14/drivers/usb/gadget/function/
Df_phonet.c292 dev->header_ops = &phonet_header_ops; in pn_net_setup()
/linux-4.4.14/drivers/firewire/
Dnet.c271 static const struct header_ops fwnet_header_ops = {
1374 net->header_ops = &fwnet_header_ops; in fwnet_init_dev()
/linux-4.4.14/net/core/
Dneighbour.c1039 if (neigh->dev->header_ops) in neigh_update_hhs()
1040 update = neigh->dev->header_ops->cache_update; in neigh_update_hhs()
1284 dev->header_ops->cache(n, hh, prot); in neigh_hh_init()
1300 if (dev->header_ops->cache && !neigh->hh.hh_len) in neigh_resolve_output()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c1819 card->dev->header_ops->create(skb, card->dev, prot, in qeth_l3_rebuild_skb()
1823 card->dev->header_ops->create(skb, card->dev, prot, in qeth_l3_rebuild_skb()
1882 card->dev->header_ops->create(skb, card->dev, 0, in qeth_l3_process_inbound_buffer()
2684 card->dev->header_ops->create(skb, card->dev, 0, in qeth_l3_fill_af_iucv_hdr()
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1608 static const struct header_ops ipoib_header_ops = {
1629 dev->header_ops = &ipoib_header_ops; in ipoib_setup()
/linux-4.4.14/drivers/hsi/clients/
Dssi_protocol.c1066 dev->header_ops = &phonet_header_ops; in ssip_pn_setup()
/linux-4.4.14/drivers/net/team/
Dteam.c2017 dev->header_ops = port_dev->header_ops; in team_setup_by_port()
/linux-4.4.14/net/packet/
Daf_packet.c1893 unsigned int hhlen = dev->header_ops ? dev->hard_header_len : 0; in packet_sendmsg_spkt()
2000 if (dev->header_ops) { in packet_rcv()
2123 if (dev->header_ops) { in tpacket_rcv()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c1128 bond_dev->header_ops = slave_dev->header_ops; in bond_setup_by_slave()
/linux-4.4.14/drivers/net/wireless/
Dairo.c2648 static const struct header_ops airo_header_ops = {
2665 dev->header_ops = &airo_header_ops; in wifi_setup()