Lines Matching refs:et
1048 struct in_addr src_ip, struct ethernet_hdr *et) in receive_icmp() argument
1061 ping_receive(et, ip, len); in receive_icmp()
1076 struct ethernet_hdr *et; in net_process_received_packet() local
1093 et = (struct ethernet_hdr *)in_packet; in net_process_received_packet()
1108 iscdp = is_cdp_packet(et->et_dest); in net_process_received_packet()
1118 eth_proto = ntohs(et->et_protlen); in net_process_received_packet()
1121 struct e802_hdr *et802 = (struct e802_hdr *)et; in net_process_received_packet()
1137 (struct vlan_ethernet_hdr *)et; in net_process_received_packet()
1180 arp_receive(et, ip, len); in net_process_received_packet()
1254 receive_icmp(ip, len, src_ip, et); in net_process_received_packet()
1430 struct ethernet_hdr *et = (struct ethernet_hdr *)xet; in net_set_ether() local
1437 memcpy(et->et_dest, dest_ethaddr, 6); in net_set_ether()
1438 memcpy(et->et_src, net_ethaddr, 6); in net_set_ether()
1440 et->et_protlen = htons(prot); in net_set_ether()
1453 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot) in net_update_ether() argument
1457 memcpy(et->et_dest, addr, 6); in net_update_ether()
1458 memcpy(et->et_src, net_ethaddr, 6); in net_update_ether()
1459 protlen = ntohs(et->et_protlen); in net_update_ether()
1462 (struct vlan_ethernet_hdr *)et; in net_update_ether()
1466 et->et_protlen = htons(prot); in net_update_ether()
1470 struct e802_hdr *et802 = (struct e802_hdr *)et; in net_update_ether()