Searched refs:magic (Results 1 – 12 of 12) sorted by relevance
/net/core/ |
D | selftests.c | 43 __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()
|
D | filter.c | 7482 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/ |
D | l2tp_core.h | 71 int magic; /* should be L2TP_SESSION_MAGIC */ member 158 int magic; /* Should be L2TP_TUNNEL_MAGIC */ member
|
D | l2tp_ppp.c | 166 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()
|
D | l2tp_core.c | 176 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/ |
D | distributed-arp-table.c | 89 __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()
|
D | bridge_loop_avoidance.c | 1148 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/ |
D | auth_x_protocol.h | 96 __le64 magic; member
|
D | auth_x.c | 65 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()
|
D | osdmap.c | 438 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/ |
D | reg.c | 651 __be32 magic; member 820 if (hdr->magic != cpu_to_be32(FWDB_MAGIC)) in valid_regdb()
|
/net/iucv/ |
D | af_iucv.c | 205 phs_hdr->magic = ETH_P_AF_IUCV; in afiucv_hs_send()
|