Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 12 of 12) sorted by relevance

/net/core/
Dselftests.c43 __be64 magic; member
143 shdr->magic = cpu_to_be64(NET_TEST_PKT_MAGIC); in net_test_get_skb()
228 if (shdr->magic != cpu_to_be64(NET_TEST_PKT_MAGIC)) in net_test_loopback_validate()
Dfilter.c7482 u8 search_kind, const u8 *magic, in bpf_search_tcp_opt() argument
7515 if (!memcmp(&op[2], magic, magic_len)) in bpf_search_tcp_opt()
7529 const u8 *op, *opend, *magic, *search = search_res; in BPF_CALL_4() local
7551 magic = &search[2]; in BPF_CALL_4()
7556 magic = NULL; in BPF_CALL_4()
7577 op = bpf_search_tcp_opt(op, opend, search_kind, magic, magic_len, in BPF_CALL_4()
7607 const u8 *op, *new_op, *magic = NULL; in BPF_CALL_4() local
7639 magic = &new_op[2]; in BPF_CALL_4()
7648 op = bpf_search_tcp_opt(op, opend, new_kind, magic, magic_len, in BPF_CALL_4()
/net/l2tp/
Dl2tp_core.h71 int magic; /* should be L2TP_SESSION_MAGIC */ member
158 int magic; /* Should be L2TP_TUNNEL_MAGIC */ member
Dl2tp_ppp.c166 if (WARN_ON(session->magic != L2TP_SESSION_MAGIC)) { in pppol2tp_sock_to_session()
416 if (WARN_ON(session->magic != L2TP_SESSION_MAGIC)) in pppol2tp_session_destruct()
1076 if (WARN_ON(session->magic != L2TP_SESSION_MAGIC)) in pppol2tp_ioctl()
1093 if (WARN_ON(session->magic != L2TP_SESSION_MAGIC)) in pppol2tp_ioctl()
1109 if (WARN_ON(session->magic != L2TP_SESSION_MAGIC)) in pppol2tp_ioctl()
Dl2tp_core.c176 if (WARN_ON(tunnel->magic != L2TP_TUNNEL_MAGIC)) in l2tp_sk_to_tunnel()
914 if (WARN_ON(tunnel->magic != L2TP_TUNNEL_MAGIC)) in l2tp_udp_encap_recv()
1419 tunnel->magic = L2TP_TUNNEL_MAGIC; in l2tp_tunnel_create()
1599 session->magic = L2TP_SESSION_MAGIC; in l2tp_session_create()
/net/batman-adv/
Ddistributed-arp-table.c89 __be32 magic; member
1479 __be32 *magic, _magic; in batadv_dat_check_dhcp() local
1503 offset += offsetof(struct batadv_dhcp_packet, magic); in batadv_dat_check_dhcp()
1505 magic = skb_header_pointer(skb, offset, sizeof(_magic), &_magic); in batadv_dat_check_dhcp()
1506 if (!magic || get_unaligned(magic) != htonl(BATADV_DHCP_MAGIC)) in batadv_dat_check_dhcp()
Dbridge_loop_avoidance.c1148 if (memcmp(bla_dst->magic, bla_dst_own->magic, in batadv_bla_process_claim()
1149 sizeof(bla_dst->magic)) != 0) in batadv_bla_process_claim()
1540 memcpy(&bat_priv->bla.claim_dest.magic, claim_dest, 3); in batadv_bla_init()
/net/ceph/
Dauth_x_protocol.h96 __le64 magic; member
Dauth_x.c65 hdr->magic = cpu_to_le64(CEPHX_ENC_MAGIC); in ceph_x_encrypt()
89 if (le64_to_cpu(hdr->magic) != CEPHX_ENC_MAGIC) { in __ceph_x_decrypt()
Dosdmap.c438 u32 magic; in crush_decode() local
457 magic = ceph_decode_32(p); in crush_decode()
458 if (magic != CRUSH_MAGIC) { in crush_decode()
460 (unsigned int)magic, (unsigned int)CRUSH_MAGIC); in crush_decode()
/net/wireless/
Dreg.c651 __be32 magic; member
820 if (hdr->magic != cpu_to_be32(FWDB_MAGIC)) in valid_regdb()
/net/iucv/
Daf_iucv.c205 phs_hdr->magic = ETH_P_AF_IUCV; in afiucv_hs_send()